/* 
* Creaty Agency - Main Stylesheet
* Author: Custom Development
* Version: 1.0
*/

/* ======== RESET & BASE STYLES ========= */
*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Variables */
    --primary-color: #6772e5;
    --primary-dark: #4751c4;
    --secondary-color: #24b47e;
    --secondary-dark: #1c9066;
    --dark-color: #32325d;
    --light-color: #f6f9fc;
    --gray-color: #8898aa;
    --light-gray: #e6ebf1;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Shadows */
    --card-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --hover-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 15px 20px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-normal: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

html {
    -webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

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

/* ======== CONTAINERS & LAYOUT ======== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.section-subtitle.centered {
    text-align: center;
}

/* ======== BUTTONS ======== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    -webkit-transition: var(--transition-normal);
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 10px 20px rgba(103, 114, 229, 0.3);
    box-shadow: 0 10px 20px rgba(103, 114, 229, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(36, 180, 126, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(103, 114, 229, 0.3);
}

/* ======== HEADER & NAVIGATION ======== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 2000;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    -webkit-transition: var(--transition-normal);
    transition: var(--transition-normal);
    overflow: visible;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px;
    width: 100%;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.nav-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

.nav-item {
    margin: 0 1rem;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-cta {
    margin-left: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* ======== HERO SECTION ======== */
.hero {
    padding: 8rem 0 5rem;
    background-color: var(--light-color);
    background-image: -webkit-linear-gradient(315deg, #f6f9fc 0%, #e6ebf1 100%);
    background-image: linear-gradient(135deg, #f6f9fc 0%, #e6ebf1 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
}

/* ======== TRUSTED BY SECTION ======== */
.trusted-by {
    background-color: var(--white);
    padding: 3rem 0;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
}

.client-logo {
    flex: 0 0 150px;
    text-align: center;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 60px;
    margin: 0 auto;
}

/* ======== SERVICES SECTION ======== */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.service-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.service-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 6;
    margin-top: auto;
}

.service-link i {
    transition: var(--transition-normal);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ======== WHY CHOOSE US SECTION ======== */
.why-us {
    background-color: var(--white);
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.why-us-text {
    flex: 1;
}

.why-us-image {
    flex: 1;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ======== RESULTS / CASE STUDIES ======== */
.results {
    background-color: var(--light-color);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.case-study-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 6px 15px;
    border-top-right-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.case-study-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-challenge, .case-solution {
    margin-bottom: 1.2rem;
}

.case-challenge h4, .case-solution h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.case-challenge p, .case-solution p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--gray-color);
}

.results-list {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
}

.results-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.results-list li:last-child {
    border-bottom: none;
}

.results-list li strong {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.case-study-card .btn {
    margin-top: auto;
}

/* ======== TESTIMONIALS SECTION ======== */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.testimonial {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin: 1rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    color: var(--dark-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ======== CTA SECTION ======== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/stars-bg.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-box {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-highlight {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-highlight:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-highlight i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.cta-highlight span {
    color: var(--white);
    font-weight: 500;
}

.cta-section .btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* ======== CONTACT SECTION ======== */
.contact {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.contact-text {
    flex: 1;
}

.contact-info {
    margin-top: 2rem;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.contact-form {
    flex: 1.2;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--dark-color);
    background-color: var(--white);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(103, 114, 229, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

.contact-value-proposition {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--white);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.contact-value-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-value-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-value-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    position: relative;
    top: -1px;
}

.form-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.contact-form {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ======== FOOTER ======== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

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

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.legal-links a:hover {
    color: var(--white);
}

/* ======== RESPONSIVE STYLES ======== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem;
        transition: var(--transition-normal);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 0.8rem 0;
        width: 100%;
    }
    
    .nav-item a {
        color: var(--white);
        display: block;
        padding: 0.5rem 0;
    }
    
    .nav-link {
        color: var(--white) !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: white;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background-color: white;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .why-us-content {
        flex-direction: column;
    }
    
    .why-us-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-text {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .case-study-image {
        height: 180px;
    }
    
    .case-study-category {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    .case-challenge h4, .case-solution h4 {
        font-size: 0.95rem;
    }
    
    .case-challenge p, .case-solution p {
        font-size: 0.9rem;
    }
    
    .results-list {
        padding: 0.8rem;
    }
    
    .results-list li strong {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .client-logo {
        flex: 0 0 120px;
    }
    
    .client-logo img {
        max-height: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo {
    max-width: 140px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(249, 194, 68, 0.3);
    border-radius: 50%;
    border-top-color: #F9C244;
    border-bottom-color: #65C7E8;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

/* Stiluri îmbunătățite pentru FAQ */
.faq-section {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    border-left: 4px solid var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.faq-answer ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
    color: var(--gray-color);
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.faq-answer ul li strong {
    color: var(--dark-color);
    font-weight: 600;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding-bottom: 1.5rem;
}

.faq-more {
    text-align: center;
    margin-top: 3rem;
}

.faq-more p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-toggle {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
}

/* Stiluri pentru process steps */
.process-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.process-steps {
    max-width: 800px;
    margin: 3rem auto 0;
}

.process-step {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    height: calc(100% + 1rem);
    width: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1.5rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-step:not(:last-child)::after {
        left: 20px;
        top: 40px;
        height: calc(100% - 40px);
    }
}

/* Stiluri pentru secțiunea value proposition */
.value-proposition {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.value-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(103, 114, 229, 0.3);
}

.value-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.value-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Stiluri pentru statistici în hero */
.hero-stats {
    display: flex;
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Stiluri pentru noul layout al beneficiilor */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefit-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Stiluri pentru technology section */
.technology-section {
    background-color: var(--light-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.technology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.technology-content {
    max-width: 90%;
}

.technology-content h2 {
    margin-bottom: 1.5rem;
}

.technology-content p {
    margin-bottom: 2rem;
}

.technology-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.technology-feature {
    background-color: var(--white);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.technology-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.technology-feature i {
    color: var(--primary-color);
}

.technology-image {
    position: relative;
}

.technology-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Media queries pentru responsivitate */
@media (max-width: 1024px) {
    .hero-stats {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .technology-grid {
        grid-template-columns: 1fr;
    }
    
    .technology-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .value-proposition {
        gap: 1rem;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .value-content h3 {
        font-size: 1rem;
    }
    
    .value-content p {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Stilizare pentru secțiunea Benefits */
.benefits-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--primary-color-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--secondary-color-rgb), 0.05) 0%, rgba(var(--secondary-color-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

@media (max-width: 768px) {
    .case-study-image {
        height: 180px;
    }
    
    .case-study-category {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    .case-challenge h4, .case-solution h4 {
        font-size: 0.95rem;
    }
    
    .case-challenge p, .case-solution p {
        font-size: 0.9rem;
    }
    
    .results-list {
        padding: 0.8rem;
    }
    
    .results-list li strong {
        font-size: 1rem;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .cta-highlights {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-text {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-highlight {
        padding: 0.6rem;
    }
    
    .cta-highlight i {
        font-size: 1rem;
    }
    
    .cta-section .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-value-item {
        padding: 1rem;
    }
    
    .contact-value-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-header {
        padding: 1.2rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
}

/* Dropdown Menu Styles pentru Desktop */
@media (min-width: 993px) {
    .nav-item.has-dropdown {
        position: relative;
    }

    .nav-item.has-dropdown .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
    }

    .nav-item.has-dropdown .dropdown-toggle .nav-link {
        margin-right: 0;
    }

    .nav-item.has-dropdown .dropdown-toggle i {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .nav-item.has-dropdown:hover .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1500;
        padding: 0.8rem 0;
    }

    .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item {
        display: block;
        padding: 0.5rem 1.5rem;
        color: #333;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary);
    }

    .dropdown-item.active {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary);
    }

    .nav-item.has-dropdown .dropdown-toggle .nav-link::after {
        content: none;
    }
}

/* Mobile Menu Adjustments */
@media (max-width: 992px) {
    /* Modificări pentru a rezolva problema header-ului pe mobile */
    .header {
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header-content {
        width: 100%;
        overflow-x: hidden;
        padding: 0;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .logo {
        max-width: 70%;
    }
    
    .logo img {
        max-height: 40px;
        max-width: 100%;
    }
    
    /* Hide CTA button on mobile */
    .header-cta {
        display: none;
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        position: relative;
        z-index: 2000;
        width: 32px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        margin-right: 0;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span {
        background-color: white;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* Mobile menu toggle fixes */
    .mobile-menu-toggle.active {
        position: fixed;
        right: 1rem;
        z-index: 2001;
    }
    
    /* Nav Menu */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1e213a; /* Fundal mai închis și opac */
        z-index: 1500;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 70px 20px 40px 20px;
        box-sizing: border-box;
        pointer-events: auto;
    }
    
    .nav.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    /* Main navigation list */
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        margin-top: 10px;
    }
    
    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
        height: auto;
        display: block;
    }
    
    /* Stiluri mai luminoase pentru meniul mobil */
    .nav-link, 
    .nav-item a,
    .dropdown-toggle .nav-link {
        color: #ffffff !important;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover, 
    .nav-link.active {
        color: var(--primary-color) !important;
    }
    
    /* Fix clickable area for links */
    .nav-item a, 
    .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.8rem 0.5rem;
        color: #ffffff;
    }
    
    .nav-item.has-dropdown {
        display: block;
    }
    
    .nav-item.has-dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.5rem;
        height: auto;
        cursor: pointer;
        z-index: 1601;
    }
    
    .nav-item.has-dropdown .dropdown-toggle .nav-link {
        padding: 0;
        width: auto;
        flex: 1;
    }
    
    .nav-item.has-dropdown .dropdown-toggle i {
        color: var(--white);
        transition: transform 0.3s ease;
        padding-right: 10px;
        z-index: 1602; /* Above other elements */
    }
    
    .nav-item.has-dropdown.show .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    /* Stil mai luminos pentru dropdown */
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: unset;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 5px;
        box-shadow: none;
        padding: 0;
        margin: 5px 0 5px 15px;
        opacity: 1;
        visibility: hidden;
        display: none;
        transition: none;
        z-index: 1601;
        pointer-events: auto;
    }
    
    .nav-item.has-dropdown.show .dropdown-menu {
        visibility: visible;
        display: block;
        pointer-events: auto;
    }
    
    .dropdown-item {
        padding: 10px 15px;
        color: rgba(255, 255, 255, 0.9) !important;
        border-left: 3px solid transparent;
    }
    
    .dropdown-item:hover, 
    .dropdown-item.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-left: 3px solid var(--primary-color);
        color: white !important;
    }
    
    /* Make elements explicitly clickable */
    .nav-item a, 
    .dropdown-item,
    .nav-item.has-dropdown .dropdown-toggle,
    .nav-item.has-dropdown .dropdown-toggle i {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0); /* Remove tap highlight on iOS */
    }
    
    /* Overlay when menu is open - facem-l transparent */
    body.no-scroll::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7); /* Overlay mai întunecat și mai opac */
        z-index: 1400;
        pointer-events: auto; /* Activează click handling pe overlay */
    }
    
    /* Fix menu position on smaller screens */
    @media (max-width: 360px) {
        .nav {
            width: 85%;
            padding: 70px 15px 40px 15px;
        }
        
        .mobile-menu-toggle.active {
            right: 0.5rem;
        }
    }
}

/* Prevent scrolling when mobile menu is open */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    /* Asigurăm-ne că toate elementele din meniu sunt clickabile */
    .nav,
    .nav-list,
    .nav-item,
    .nav-link,
    .dropdown-toggle,
    .dropdown-menu,
    .dropdown-item {
        pointer-events: auto !important;
    }

    /* Îndreptăm problema cu itemii din dropdown care nu sunt clickabile */
    .nav-item.has-dropdown .dropdown-toggle {
        cursor: pointer;
        z-index: 1601;
    }
    
    .nav-item.has-dropdown .dropdown-toggle .nav-link {
        pointer-events: none; /* Prevenim dubla declanșare a evenimentelor */
    }
    
    /* Asigurăm-ne că dropdown-ul are stil adecvat și este clickabil */
    .dropdown-menu {
        z-index: 1601;
        position: static;
        pointer-events: auto !important;
    }
    
    .dropdown-item {
        cursor: pointer;
        pointer-events: auto !important;
        position: relative;
        z-index: 1602;
    }
    
    /* Eliminăm interferențe posibile */
    body.no-scroll::before {
        pointer-events: none;
    }
} 