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

:root {
    --primary: #1a2332;
    --primary-light: #2a3a52;
    --accent: #00b4d8;
    --accent-hover: #0096b4;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --text: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    padding-top: 74px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* Section */
.section {
    padding: 90px 20px;
}

.section-alt {
    background: var(--light);
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    font-size: 1.1rem;
}

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

.text-center .section-subtitle {
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

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

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.1rem;
}

.btn-success {
    background: #25D366;
    color: var(--white);
}

.btn-success:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

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

.nav-cta {
    margin-left: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Client Nav */
.nav-client {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    cursor: pointer;
}

.nav-client-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid #eee;
    padding: 8px 0;
}

.nav-client:hover .nav-client-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-client-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-client-dropdown a:hover {
    background: var(--light);
    color: var(--accent);
}

.nav-client-dropdown .divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* Hero */
.hero {
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #0f1a2e 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--accent);
    position: relative;
}

.hero-illustration .code-lines {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-illustration .code-lines span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-illustration .code-lines span:nth-child(1) { width: 80%; background: var(--accent); opacity: 0.5; }
.hero-illustration .code-lines span:nth-child(2) { width: 100%; background: rgba(255, 255, 255, 0.12); }
.hero-illustration .code-lines span:nth-child(3) { width: 65%; background: rgba(255, 255, 255, 0.08); }
.hero-illustration .code-lines span:nth-child(4) { width: 90%; background: var(--accent); opacity: 0.3; }
.hero-illustration .code-lines span:nth-child(5) { width: 50%; background: rgba(255, 255, 255, 0.1); }
.hero-illustration .code-lines span:nth-child(6) { width: 75%; background: rgba(255, 255, 255, 0.06); }

/* Hero Carousel */
.hero-carousel {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-slide {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, #0f1a2e 100%);
    display: flex;
    align-items: center;
}

.hero-carousel .carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-carousel .carousel-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 0;
}

.hero-carousel .carousel-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-carousel .carousel-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-carousel .carousel-indicators button.active {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-carousel .carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.hero-carousel .carousel-arrows button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-carousel .carousel-arrows button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

/* Clients bar */
.clients-bar {
    background: var(--light);
    padding: 40px 0;
    border-bottom: 1px solid #eaeaea;
}

.clients-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.clients-bar p {
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.client-logos {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

.client-logos span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ccc;
    letter-spacing: 2px;
    transition: var(--transition);
}

.client-logos span:hover {
    color: var(--primary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

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

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1), transparent);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.about-stat {
    text-align: center;
}

.about-stat h4 {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 800;
}

.about-stat p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid #eee;
}

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

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.portfolio-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 180, 216, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

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

.portfolio-image .overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.portfolio-info {
    padding: 20px 24px 24px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

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

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    color: var(--primary);
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 2px;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

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

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.contact-form-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--light);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: var(--white);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Success / Alert Messages */
.success-message {
    display: none;
    padding: 20px;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid #00c853;
    border-radius: 8px;
    color: #00a844;
    text-align: center;
    font-weight: 500;
    margin-top: 16px;
}

.success-message.show {
    display: block;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid #00c853;
    color: #00a844;
}

.alert-error,
.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #d32f2f;
}

.alert-info {
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-hover);
}

.alert-dismissible {
    position: relative;
    padding-right: 40px;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 20px 24px;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    cursor: pointer;
}

.faq-item p {
    margin-top: 16px;
    color: var(--text-light);
}

/* CTA */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #0077b6 100%);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-links li {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent);
}

/* Page Header */
.page-header {
    padding: 140px 20px 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #0f1a2e 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

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

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-info span {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Services Page Detailed */
.services-detailed {
    display: grid;
    gap: 40px;
}

.service-detailed-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-detailed-card.reverse {
    direction: rtl;
}

.service-detailed-card.reverse > * {
    direction: ltr;
}

.service-detailed-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.service-detailed-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-detailed-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.service-detailed-list li i {
    color: var(--accent);
}

.service-detailed-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.blog-info {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.blog-info .blog-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.blog-info .blog-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid #e8e8e8;
    color: var(--text);
    background: var(--white);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .active span,
.pagination .active a {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.pagination .disabled span,
.pagination .disabled a {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
}

.modal-header h2 {
    font-size: 1.3rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 20px 28px 28px;
}

.modal-body .blog-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: block;
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.app-float {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition);
}

.app-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-modal img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-carousel .carousel-slide {
        height: 450px;
    }

    .hero-carousel .carousel-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        transition: var(--transition);
        opacity: 0;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-client .nav-client-dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding: 0;
    }

    .nav-client .nav-client-dropdown a {
        padding: 8px 0;
    }

    .hero {
        padding: 130px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-carousel .carousel-slide {
        height: 380px;
    }

    .hero-carousel .carousel-content h1 {
        font-size: 2rem;
    }

    .hero-carousel .carousel-arrows {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-detailed-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .service-detailed-card.reverse {
        direction: ltr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 24px;
    }

    .services-detailed {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-carousel .carousel-content h1 {
        font-size: 1.6rem;
    }

    .clients-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .client-logos {
        justify-content: center;
        gap: 24px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
