/* =====================================================
   MUBARMIJ - Modern Software Company Website
   Inspired by Porichiti Home-6 Design
   Enhanced with Animations & Interactions
===================================================== */

/* ===== CSS Variables ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-radius: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.8);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

.preloader-logo {
    width: 80px;
    height: 80px;
    animation: pulse 2s ease-in-out infinite;
    filter: brightness(0) invert(1);
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section Padding ===== */
.section-padding {
    padding: 100px 0;
}

/* ===== Section Headers ===== */
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-subtitle .line {
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle.centered {
    justify-content: center;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-description {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section > .container {
    position: relative;
    z-index: 10;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    animation-delay: 1s;
}

.hero-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content {
    color: white;
    position: relative;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content * {
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle .line {
    width: 40px;
    height: 2px;
    background: white;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typed-wrapper {
    display: inline-block;
    min-height: 1.2em;
}

#typed-text {
    color: rgba(255, 255, 255, 0.95);
}

.typed-cursor {
    color: white;
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 500px;
}

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

/* ===== Custom Buttons ===== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-primary-custom span,
.btn-primary-custom i {
    position: relative;
    z-index: 1;
}

.btn-primary-custom i {
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
    transform: translateX(5px);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

.btn-gradient i {
    transition: transform 0.3s ease;
}

.btn-gradient:hover i {
    transform: translateX(5px);
}

/* ===== Hero Social ===== */
.hero-social {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px) rotate(5deg);
}

/* ===== Hero Image ===== */
.hero-image {
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-image-wrapper {
    position: relative;
    padding: 40px;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    transform: rotate(3deg);
    animation: float 4s ease-in-out infinite;
}

.hero-logo-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
    animation: float 3s ease-in-out infinite;
}

/* Logo Container with Background for White Logo */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

/* Header Logo Styling */
.header-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Logo with dark background circle for visibility */
.logo-dark-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 16px;
    border-radius: 12px;
}

.footer-logo {
    height: 56px;
    width: auto;
    filter: brightness(1);
}

/* ===== Floating Cards ===== */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

/* ===== Hero Scroll Indicator ===== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ===== About Section ===== */
.about-section {
    background: white;
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-inner {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.3);
}

.about-image-inner img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.about-image:hover .about-image-inner img {
    transform: scale(1.05);
}

.about-frame {
    position: absolute;
    inset: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 25px;
    opacity: 0.3;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.experience-badge .number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 13px;
    text-align: center;
    line-height: 1.3;
    opacity: 0.9;
}

.about-text {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ===== Skills ===== */
.skills-wrapper {
    margin-bottom: 32px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
}

.skill-percent {
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--light-bg);
    position: relative;
}

.bg-light-custom {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.1);
}

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

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.service-icon .icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .icon-bg {
    background: var(--primary-gradient);
    transform: rotate(10deg);
}

.service-icon i {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.stat-item:hover .stat-icon {
    background: white;
    color: var(--primary-color);
    transform: rotate(10deg) scale(1.1);
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.stat-plus {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

/* Fantazia purple/mauve background for transparent logo */
.portfolio-image.fantazia-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-image.fantazia-bg img {
    object-fit: contain;
    padding: 20px;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.portfolio-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.portfolio-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.portfolio-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

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

/* ===== Why Choose Us Section ===== */
.why-us-section {
    background: var(--light-bg);
}

.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-text {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    transform: translateX(10px);
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Us Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-item {
    aspect-ratio: 1;
    background: var(--primary-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    transition: var(--transition-smooth);
}

.grid-item:hover {
    transform: rotate(5deg) scale(1.05);
}

.grid-item.item-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.grid-item.item-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.grid-item.item-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.grid-item.item-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

/* ===== CTA Section ===== */
.cta-section {
    background: var(--primary-gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-bg-shapes .shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -200px;
}

.cta-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-white i {
    transition: transform 0.3s ease;
}

.btn-white:hover i {
    transform: translateX(5px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.cta-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.cta-contact a:hover {
    color: white;
}

.cta-contact .divider {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--primary-gradient);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Contact Form Styles ===== */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

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

.contact-info-card {
    background: var(--primary-gradient);
    padding: 50px 40px;
    border-radius: 30px;
    color: white;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.contact-form {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-wrapper,
    .about-wrapper,
    .why-us-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .floating-card {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .about-wrapper,
    .why-us-wrapper {
        gap: 40px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        right: 10px;
        bottom: -10px;
    }
    
    .experience-badge .number {
        font-size: 32px;
    }
    
    .experience-badge .text {
        font-size: 11px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-gradient,
    .btn-white,
    .btn-outline-white {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Back to Top Button ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: var(--light-bg);
    padding: 100px 0;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Swiper Customization ===== */
.swiper {
    padding-bottom: 60px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 36px;
    border-radius: 6px;
}

/* ===== Tech Stack Section ===== */
.tech-stack-section {
    padding: 80px 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    background: white;
}

.tech-item i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.tech-item span {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

/* ===== Process Section ===== */
.process-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.process-item:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-item::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Page Header Section (for inner pages) ===== */
.page-header-section {
    background: var(--primary-gradient);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
}

.page-header-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.page-header-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: 2s;
}

.page-header-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.page-subtitle .line {
    width: 40px;
    height: 2px;
    background: white;
}

.page-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 24px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.breadcrumb-nav .current {
    color: white;
    font-weight: 600;
}

/* ===== Services Detail Section ===== */
.services-main-section {
    background: white;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: var(--light-bg);
    padding: 40px 35px;
    border-radius: 24px;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-detail-card:hover {
    background: white;
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15);
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.1);
}

.service-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-detail-icon {
    position: relative;
    width: 80px;
    height: 80px;
}

.service-detail-icon .icon-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.service-detail-card:hover .service-detail-icon .icon-bg {
    transform: rotate(10deg);
}

.service-detail-icon i {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.service-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.15);
    line-height: 1;
}

.service-detail-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-detail-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.service-features-list li i {
    color: var(--primary-color);
    font-size: 16px;
}

.service-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.service-detail-card:hover .tech-badge {
    background: var(--primary-gradient);
    color: white;
}

/* ===== About Story Section ===== */
.about-story-section {
    background: white;
}

.about-story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-story-image {
    position: relative;
}

.about-story-image .image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.about-story-image .image-bg {
    position: absolute;
    inset: -20px;
    background: var(--primary-gradient);
    opacity: 0.1;
    border-radius: 40px;
}

.about-story-image img {
    position: relative;
    width: 100%;
    display: block;
    z-index: 2;
}

.about-story-image .image-frame {
    position: absolute;
    inset: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 25px;
    opacity: 0.3;
    z-index: 3;
}

.experience-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 10;
}

.experience-content {
    width: 140px;
    height: 140px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.experience-content .years {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-content .text {
    font-size: 13px;
    text-align: center;
    line-height: 1.3;
    opacity: 0.9;
}

.lead-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 500;
}

.body-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-bottom: 32px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.about-feature-item:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.1);
}

.about-feature-item .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.about-feature-item .feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.about-feature-item .feature-text p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Values Section ===== */
.values-section {
    background: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: transform 0.4s ease;
}

.value-card:hover .value-icon {
    transform: rotate(360deg);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Contact Main Section ===== */
.contact-main-section {
    background: white;
}

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

.contact-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    background: white;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    transform: translateX(10px);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.contact-card.whatsapp-card .contact-card-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-card-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.contact-card-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.contact-link:hover {
    gap: 12px;
}

.social-connect-card {
    padding: 30px;
    background: var(--primary-gradient);
    border-radius: 20px;
    color: white;
    margin-top: 10px;
}

.social-connect-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.social-icons-large {
    display: flex;
    gap: 15px;
}

.social-icon-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: white;
    font-size: 20px;
    transition: var(--transition-smooth);
}

.social-icon-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* ===== Contact Form Wrapper ===== */
.contact-form-wrapper {
    background: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
}

.contact-form-inner {
    padding: 50px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-header p {
    font-size: 15px;
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-select {
    width: 120px;
    min-width: 120px;
    padding: 16px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.country-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.required {
    color: #ef4444;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

.submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    display: none;
}

.submit-btn.loading .spinner {
    display: block;
}

/* ===== Quick CTA Section ===== */
.quick-cta-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.quick-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 24px;
    color: white;
    flex-wrap: wrap;
    gap: 30px;
}

.quick-cta-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quick-cta-content p {
    font-size: 15px;
    opacity: 0.9;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: white;
    color: #25d366;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.whatsapp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ===== Form Alert ===== */
.form-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 15px;
}

.form-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1024px) {
    .about-story-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header-section {
        padding: 140px 0 80px;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-inner {
        padding: 30px 20px;
    }
    
    .quick-cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .experience-box {
        right: 10px;
        bottom: -20px;
    }
    
    .experience-content {
        width: 100px;
        height: 100px;
    }
    
    .experience-content .years {
        font-size: 32px;
    }
    
    .experience-content .text {
        font-size: 11px;
    }
}
