:root {
    --primary: #23579b;
    --secondary: #d5a538;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --light: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

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

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

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

.nav-cta .cta-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(35, 87, 155, 0.3);
}

.nav-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 87, 155, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

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

/* ============ HERO SECTION ============ */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #23579b 100%);
    position: relative;
    overflow: hidden;
    color: var(--light);
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(35, 87, 155, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(213, 165, 56, 0.2);
    border: 1px solid rgba(213, 165, 56, 0.3);
    color: var(--secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--secondary);
}

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

.hero-title .title-line {
    display: block;
}

.hero-title .title-line:nth-child(2) {
    background: linear-gradient(90deg, var(--secondary) 0%, #f0c040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 550px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(35, 87, 155, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(35, 87, 155, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.hero-image-box i {
    font-size: 12rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-align: center;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.floating-element:hover {
    transform: translateY(-5px);
}

.floating-element i {
    font-size: 2rem;
}

.floating-element.wordpress {
    top: 10%;
    left: -10%;
    animation: float 3s ease-in-out infinite;
}

.floating-element.wordpress i {
    color: #21759b;
}

.floating-element.laravel {
    bottom: 10%;
    right: -5%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.floating-element.laravel i {
    color: #f55247;
}

.floating-element span {
    color: var(--gray-800);
    font-weight: 700;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============ SECTION STYLES ============ */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(35, 87, 155, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(35, 87, 155, 0.3);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

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

.service-link {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary);
    gap: 0.75rem;
}

/* ============ ABOUT SECTION ============ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    color: var(--light);
    position: relative;
}

.about-image-box i {
    font-size: 10rem;
    opacity: 0.9;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--light);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-badge i {
    font-size: 3rem;
    color: var(--secondary);
}

.about-badge-info span {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.about-badge-info small {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.about-text h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text > p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.about-feature span {
    color: var(--gray-700);
    font-weight: 600;
}

/* ============ WHY CHOOSE US ============ */
.why-choose {
    background: var(--gray-900);
    color: var(--light);
}

.why-choose .section-title {
    color: var(--light);
}

.why-choose .section-subtitle {
    color: var(--gray-400);
}

/* ============ PORTFOLIO/WORK SECTION ============ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--light);
    border: 2px solid var(--gray-200);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: var(--light);
    box-shadow: 0 4px 15px rgba(35, 87, 155, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--light);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-overlay a {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-900);
    font-size: 1.1rem;
    transition: var(--transition);
}

.portfolio-overlay a:hover {
    background: var(--light);
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.75rem;
}

.portfolio-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ============ TEAM SECTION ============ */
.team {
    background: var(--gray-50);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--light);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.member-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 4rem;
    border: 4px solid var(--light);
    box-shadow: 0 8px 20px rgba(35, 87, 155, 0.2);
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.member-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    transform: translateY(-3px);
}

/* ============ PRICING SECTION ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary) 0%, #1a4378 100%);
    color: var(--light);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(35, 87, 155, 0.3);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), #f0c040);
    color: var(--gray-900);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-name {
    color: var(--light);
}

.pricing-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card.featured .pricing-desc {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-amount {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card.featured .pricing-amount {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    vertical-align: top;
}

.pricing-card.featured .price-currency {
    color: var(--secondary);
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-card.featured .price-value {
    color: var(--light);
}

.price-period {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.pricing-card.featured .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-600);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-features li i.fa-check {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.pricing-features li i.fa-xmark {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-btn:hover {
    background: var(--primary);
    color: var(--light);
}

.pricing-card.featured .pricing-btn {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--gray-900);
}

.pricing-card.featured .pricing-btn:hover {
    background: #f0c040;
    border-color: #f0c040;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: var(--gray-900);
    color: var(--light);
}

.testimonials .section-title {
    color: var(--light);
}

.testimonials .section-subtitle {
    color: var(--gray-400);
}

/* ============ CONTACT SECTION ============ */
.contact {
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4378 100%);
    border-radius: 24px;
    padding: 3rem;
    color: var(--light);
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-info span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.contact-item-info p {
    color: var(--light);
    font-weight: 600;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--light);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-form > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--gray-700);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 0 0 4px rgba(35, 87, 155, 0.1);
}

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

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1.15rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 32px;
    padding: 4rem;
    text-align: center;
    color: var(--light);
    margin: 4rem auto;
    max-width: 1160px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-900);
    color: var(--light);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-brand > p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: var(--light);
    transform: translateY(-3px);
}

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

.link-group h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
    padding-bottom: 0.75rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

.link-group ul li a {
    color: var(--gray-400);
    transition: var(--transition);
    font-size: 0.95rem;
}

.link-group ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

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

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ============ CURSOR STYLES ============ */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 0;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

/* ============ CHAT SUPPORT ============ */
.chat-support {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.chat-support:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ============ PAGE HEADER (Inner Pages) ============ */
.page-header {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #23579b 100%);
    position: relative;
    overflow: hidden;
    color: var(--light);
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(213, 165, 56, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .hero-badge {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--secondary);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.5);
}

/* ============ ANIMATIONS ============ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.8s ease forwards;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

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

    .hero-content,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--light);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-cta {
        display: none;
    }

    .nav-cta.active {
        display: block;
        position: fixed;
        top: auto;
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        transform: translateY(100vh);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-cta.active.active {
        transform: translateY(0);
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

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

    section {
        padding: 4rem 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .floating-element {
        position: static;
        margin-top: 1rem;
        animation: none;
    }

    .floating-element.wordpress,
    .floating-element.laravel {
        left: 0;
        right: 0;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }

    .cta-section {
        padding: 2.5rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .page-header {
        padding: 140px 0 60px;
    }

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

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .chat-support {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

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

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

    .services-grid,
    .portfolio-grid,
    .team-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .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(7px, -7px);
    }
}
