

/* ===== HERO ===== */
.hero {
  min-height: 55vh;
  background: url("../img/UIUX\ &\ Web\ Experience\ Design\ -\ 007\ \(1\).png") center/cover no-repeat;
  display: flex;
  align-items: center;
}

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

.hero h1 {
font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff;
  max-width: 720px;
}

.hero p {
  margin-top: 18px;
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 600px;
}

.hero .line {
  width: 90px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 26px;
}



        /* ===== THEME VARIABLES ===== */
        :root {
            --dark: #0f172a;
            --light: #f8fafc;
            --muted: #64748b;
            --accent: #ef4444;
            --accent-light: #f87171;
            --accent-dark: #dc2626;
            --surface: #ffffff;
            --border: rgba(239, 68, 68, 0.2);
            --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

            --gradient-primary: linear-gradient(135deg, #ef4444, #dc2626);
            --gradient-accent: linear-gradient(135deg, #f87171, #ef4444);
            --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
            --gradient-light: linear-gradient(135deg, #f8fafc, #e2e8f0);
            
            --glass: rgba(255, 255, 255, 0.9);
            --card-bg: rgba(255, 255, 255, 0.85);
            --chat-bubble-left: #fee2e2;
            --chat-bubble-right: #fecaca;
        }

        /* ===== BASE STYLES ===== */
      
      ainer {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        h1, h2, h3, h4 {
            font-weight: 600;
            line-height: 1.2;
        }

        p {
            color: var(--muted);
        }

        section {
            padding: 50px 0;
            position: relative;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 1.9rem;
            margin-bottom: 15px;
            color: var(--dark);
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 120px;
            height: 4px;
            background: var(--gradient-primary);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .section-title p {
            color: var(--muted);
            max-width: 700px;
            margin: 30px auto 0;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        /* ===== ANIMATED CHAT BACKGROUND ===== */
        .chat-background {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .chat-bubble {
            position: absolute;
            background: var(--surface);
            border-radius: 24px;
            padding: 15px;
            max-width: 250px;
            font-size: 0.9rem;
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            opacity: 0;
            transform: translateY(20px);
            color: var(--dark);
        }

        .chat-bubble.left {
            background: var(--chat-bubble-left);
            border-top-left-radius: 4px;
        }

        .chat-bubble.right {
            background: var(--chat-bubble-right);
            border-top-right-radius: 4px;
        }

        .chat-bubble.visible {
            opacity: 0.9;
            transform: translateY(0);
        }

        .chat-bubble::after {
            content: '';
            position: absolute;
            bottom: -8px;
            width: 16px;
            height: 16px;
            background: inherit;
            transform: rotate(45deg);
        }

        .chat-bubble.left::after {
            left: 20px;
        }

        .chat-bubble.right::after {
            right: 20px;
        }

        /* ===== INTRODUCTION SECTION ===== */
        .intro-ai {
            padding: 60px 0 100px;
            /* background: var(--gradient-light); */
        }

        .intro-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .ai-badge {
            display: inline-block;
            background: var(--gradient-primary);
            color: var(--light);
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 30px;
            box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
            animation: badgeFloat 3s ease-in-out infinite;
        }

        .intro-ai h1 {
            font-size: 3.2rem;
            margin-bottom: 30px;
            background: var(--gradient-dark);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .intro-ai p {
            font-size: 1.2rem;
            color: var(--muted);
            margin-bottom: 25px;
            line-height: 1.8;
        }

        .highlight-box {
            background: var(--surface);
            border-radius: 20px;
            padding: 30px;
            margin-top: 40px;
            border-left: 5px solid var(--accent);
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
        }

        .highlight-box p {
            font-size: 1.15rem;
            font-style: italic;
            color: var(--dark);
            text-align: center;
        }

        /* ===== WHY CHOOSE SECTION ===== */
        .why-ai-section {
            background: var(--surface);
            position: relative;
            overflow: hidden;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

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

        .why-ai-card {
            background: var(--surface);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 40px 30px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            opacity: 0;
            transform: translateY(30px);
            box-shadow: var(--shadow);
        }

        .why-ai-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .why-ai-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent);
            box-shadow: 0 25px 50px rgba(239, 68, 68, 0.15);
        }

        .why-ai-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-accent);
        }

        .why-number {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: var(--gradient-primary);
            color: var(--light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
        }

        .ai-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            font-size: 2rem;
            color: var(--accent);
            position: relative;
            z-index: 2;
            animation: iconFloat 4s ease-in-out infinite;
        }

        .why-ai-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
            position: relative;
            z-index: 2;
        }

        .why-ai-card p {
            color: var(--muted);
            line-height: 1.7;
            position: relative;
            z-index: 2;
        }

        /* ===== CAPABILITIES SECTION ===== */
        .capabilities-section {
            position: relative;
            overflow: hidden;
            background: var(--gradient-light);
        }

        .capabilities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .capability-card {
            background: var(--surface);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 30px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
        }

        .capability-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-light);
            box-shadow: 0 15px 30px rgba(239, 68, 68, 0.1);
        }

        .capability-icon {
            width: 60px;
            height: 60px;
            min-width: 60px;
            background: linear-gradient(135deg, rgba(248, 113, 113, 0.1), rgba(239, 68, 68, 0.1));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--accent);
        }

        .capability-content h4 {
            font-size: 1.2rem;
            margin-bottom: 8px;
            color: var(--dark);
        }

        .capability-content p {
            color: var(--muted);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* ===== ANIMATED AI ELEMENTS ===== */
        .ai-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
        }

        .ai-element {
            position: absolute;
            font-size: 2rem;
            color: rgba(239, 68, 68, 0.15);
            animation: elementFloat 8s ease-in-out infinite;
        }

        .ai-element:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
        .ai-element:nth-child(2) { top: 15%; right: 10%; animation-delay: 1s; }
        .ai-element:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 2s; }
        .ai-element:nth-child(4) { bottom: 15%; right: 5%; animation-delay: 3s; }
        .ai-element:nth-child(5) { top: 40%; left: 20%; animation-delay: 0.5s; }
        .ai-element:nth-child(6) { top: 30%; right: 20%; animation-delay: 1.5s; }

        /* ===== ANIMATIONS ===== */
        @keyframes badgeFloat {
            0%, 100% {
                transform: translateY(0);
                box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
            }
            50% {
                transform: translateY(-10px);
                box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3);
            }
        }

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

        @keyframes elementFloat {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(10deg);
            }
        }

        /* ===== RESPONSIVE DESIGN ===== */
        @media (max-width: 992px) {
            .intro-ai h1 {
                font-size: 2.8rem;
            }
            
            .section-title h2 {
                font-size: 2.3rem;
            }
            
            .why-ai-grid, .capabilities-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }

        @media (max-width: 768px) {
            section {
                padding: 80px 0;
            }
            
            .intro-ai h1 {
                font-size: 2.4rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .why-ai-card, .capability-card {
                padding: 30px;
            }
            
            .highlight-box {
                padding: 25px;
            }
        }

        @media (max-width: 480px) {
            .intro-ai h1 {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .why-ai-card, .capability-card {
                padding: 25px 20px;
            }
            
            .ai-icon {
                width: 70px;
                height: 70px;
                font-size: 1.8rem;
            }
            
            .capability-card {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
        }
