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

:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #ff6600;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Header */
header {
    background: var(--dark);
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo span {
    color: var(--white);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

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

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

.nav-links a:hover {
    color: var(--secondary);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark);
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--white);
}

.dropdown-menu a::after {
    display: none;
}

/* Hero */
.hero {
    background: #0b1120;
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Animated mesh gradient overlay */
.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-mesh .layer {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: meshMove 20s ease-in-out infinite alternate;
}

.hero-mesh .layer-1 {
    background: radial-gradient(ellipse, #3b82f6 0%, transparent 60%);
    animation-duration: 25s;
    animation-delay: 0s;
}

.hero-mesh .layer-2 {
    background: radial-gradient(ellipse, #8b5cf6 0%, transparent 60%);
    top: -20%;
    right: -20%;
    left: auto;
    animation-duration: 20s;
    animation-delay: -5s;
}

.hero-mesh .layer-3 {
    background: radial-gradient(ellipse, #f59e0b 0%, transparent 60%);
    bottom: -30%;
    top: auto;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.hero-mesh .layer-4 {
    background: radial-gradient(ellipse, #06b6d4 0%, transparent 60%);
    bottom: -10%;
    top: auto;
    right: 10%;
    left: auto;
    animation-duration: 18s;
    animation-delay: -3s;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 40px) scale(0.9); }
    75% { transform: translate(30px, 20px) scale(1.05); }
    100% { transform: translate(-40px, -20px) scale(1); }
}

/* Glass-morphism floating orbs */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-orbs .orb {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.06);
    animation: orbFloat 15s ease-in-out infinite;
}

.hero-orbs .orb-1 {
    width: 180px;
    height: 180px;
    background: rgba(59,130,246,0.08);
    top: 15%;
    left: 8%;
    animation-duration: 18s;
}

.hero-orbs .orb-2 {
    width: 120px;
    height: 120px;
    background: rgba(139,92,246,0.06);
    top: 60%;
    right: 12%;
    animation-duration: 14s;
    animation-delay: -4s;
}

.hero-orbs .orb-3 {
    width: 100px;
    height: 100px;
    background: rgba(245,158,11,0.06);
    bottom: 20%;
    left: 20%;
    animation-duration: 16s;
    animation-delay: -8s;
}

.hero-orbs .orb-4 {
    width: 60px;
    height: 60px;
    background: rgba(6,182,212,0.08);
    top: 30%;
    right: 30%;
    animation-duration: 12s;
    animation-delay: -2s;
}

.hero-orbs .orb-5 {
    width: 200px;
    height: 200px;
    background: rgba(59,130,246,0.04);
    bottom: -30px;
    right: 20%;
    animation-duration: 20s;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-25px) scale(1.05); }
    50% { transform: translateY(10px) scale(0.95); }
    75% { transform: translateY(-15px) scale(1.02); }
}

/* Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    animation: particleMove linear infinite;
}

.particle-dot:nth-child(1) { top: 15%; left: 10%; animation-duration: 22s; animation-delay: 0s; width: 3px; height: 3px; }
.particle-dot:nth-child(2) { top: 25%; left: 45%; animation-duration: 28s; animation-delay: -3s; width: 2px; height: 2px; opacity: 0.4; }
.particle-dot:nth-child(3) { top: 45%; left: 80%; animation-duration: 20s; animation-delay: -7s; width: 4px; height: 4px; opacity: 0.3; }
.particle-dot:nth-child(4) { top: 65%; left: 15%; animation-duration: 25s; animation-delay: -5s; width: 2px; height: 2px; opacity: 0.5; }
.particle-dot:nth-child(5) { top: 75%; left: 60%; animation-duration: 30s; animation-delay: -10s; width: 3px; height: 3px; opacity: 0.2; }
.particle-dot:nth-child(6) { top: 10%; left: 70%; animation-duration: 24s; animation-delay: -2s; width: 2px; height: 2px; }
.particle-dot:nth-child(7) { top: 50%; left: 5%; animation-duration: 26s; animation-delay: -8s; width: 3px; height: 3px; opacity: 0.35; }
.particle-dot:nth-child(8) { top: 85%; left: 35%; animation-duration: 20s; animation-delay: -12s; width: 2px; height: 2px; opacity: 0.4; }
.particle-dot:nth-child(9) { top: 35%; left: 92%; animation-duration: 22s; animation-delay: -4s; width: 4px; height: 4px; opacity: 0.25; }
.particle-dot:nth-child(10) { top: 55%; left: 50%; animation-duration: 18s; animation-delay: -9s; width: 2px; height: 2px; opacity: 0.3; }

@keyframes particleMove {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: var(--p-o, 0.5); }
    45% { opacity: var(--p-o, 0.5); }
    90% { opacity: 0; }
    100% { transform: translateY(-120px) translateX(50px); opacity: 0; }
}

/* Hero content */
.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    line-height: 1.2;
    animation: heroTextIn 1s ease forwards;
}

.hero h1 span {
    background: linear-gradient(135deg, #f59e0b, #f97316, #f59e0b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(245,158,11,0.25));
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    max-width: 680px;
    margin: 0 auto 35px;
    opacity: 0;
    position: relative;
    line-height: 1.8;
    animation: heroTextIn 1s ease 0.3s forwards;
    color: rgba(255,255,255,0.8);
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    opacity: 0;
    animation: heroTextIn 1s ease 0.5s forwards;
}

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

/* Wave divider */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

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

/* Hero stars / dots */
.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--d, 4s) ease-in-out infinite alternate;
    opacity: 0.2;
}

.hero-stars span:nth-child(1) { top: 8%; left: 12%; --d: 3s; }
.hero-stars span:nth-child(2) { top: 20%; left: 82%; --d: 5s; width: 3px; height: 3px; }
.hero-stars span:nth-child(3) { top: 40%; left: 5%; --d: 4s; }
.hero-stars span:nth-child(4) { top: 55%; left: 90%; --d: 6s; }
.hero-stars span:nth-child(5) { top: 70%; left: 15%; --d: 3.5s; width: 3px; height: 3px; }
.hero-stars span:nth-child(6) { top: 85%; left: 75%; --d: 4.5s; }
.hero-stars span:nth-child(7) { top: 12%; left: 50%; --d: 7s; }
.hero-stars span:nth-child(8) { top: 45%; left: 35%; --d: 5.5s; width: 1px; height: 1px; }
.hero-stars span:nth-child(9) { top: 78%; left: 55%; --d: 3.2s; }
.hero-stars span:nth-child(10) { top: 30%; left: 22%; --d: 6.5s; width: 3px; height: 3px; }

@keyframes twinkle {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

.section-title span {
    color: var(--primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

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

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

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary);
    color: var(--white);
}

.feature-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.9rem;
}

/* Why Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 25px;
    background: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.why-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.why-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

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

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

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

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.contact-detail .icon {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-detail a {
    color: var(--primary);
    font-weight: 500;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

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

.contact-form .btn {
    width: 100%;
}

/* Page Hero */
/* Content */
.content-section {
    padding: 70px 0;
}

.content-area {
    max-width: 900px;
    margin: 0 auto;
}

.content-area h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 35px 0 15px;
}

.content-area h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 25px 0 10px;
}

.content-area p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-area ul {
    margin: 15px 0 20px;
    padding-left: 25px;
}

.content-area ul li {
    list-style: disc;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.highlight-box {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    margin: 25px 0;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col p,
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col a {
    display: block;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* WhatsApp and Email Float */
.float-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.email {
    background: var(--primary);
}

/* ===== ANIMATIONS ===== */
@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-25px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-30px) rotate(3deg) scale(1.05); }
    66% { transform: translateY(-15px) rotate(-2deg) scale(0.95); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    50% { transform: translate(-20px, -15px) rotate(180deg); }
}

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

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

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.05); }
}

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

@keyframes moveDot {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(var(--tx, 100px), var(--ty, -100px)) scale(0); opacity: 0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 3D HERO BACKGROUND ===== */
.hero-3d-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    perspective: 1000px;
}

.hero-3d-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-3d-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #007bff 0%, transparent 70%);
    top: -50px;
    left: -80px;
    animation: floatShape 12s ease-in-out infinite;
    opacity: 0.15;
}

.hero-3d-shapes .shape-2 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(0, 123, 255, 0.15);
    background: transparent;
    top: 15%;
    right: -30px;
    animation: floatShape2 15s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-3d-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #ff6600 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation: floatShape3 18s ease-in-out infinite;
    opacity: 0.1;
    border-radius: 40% 60% 65% 35% / 40% 45% 55% 60%;
}

.hero-3d-shapes .shape-4 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(0, 123, 255, 0.08);
    background: none;
    top: 55%;
    right: 15%;
    opacity: 0.12;
    animation: floatShape 14s ease-in-out infinite 2s;
}

.hero-3d-shapes .shape-5 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    top: 25%;
    left: 40%;
    animation: rotateSlow 25s linear infinite;
    border-radius: 0;
    transform-style: preserve-3d;
}

.hero-3d-shapes .shape-6 {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 123, 255, 0.05);
    background: transparent;
    bottom: -150px;
    right: -100px;
    animation: rotateSlow 40s linear infinite;
    border-radius: 0;
    transform-style: preserve-3d;
}

.hero-3d-shapes .shape-7 {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    top: 20%;
    left: 20%;
    box-shadow:
        100px 200px 0 rgba(255,255,255,0.15),
        300px 50px 0 rgba(255,255,255,0.1),
        200px 300px 0 rgba(255,255,255,0.08),
        400px 180px 0 rgba(255,255,255,0.12),
        500px 280px 0 rgba(255,255,255,0.06),
        -100px 350px 0 rgba(255,255,255,0.1),
        350px 400px 0 rgba(255,255,255,0.08),
        150px 450px 0 rgba(255,255,255,0.05),
        450px 100px 0 rgba(255,255,255,0.1),
        50px 500px 0 rgba(255,255,255,0.07);
    opacity: 0.5;
}

.hero-3d-shapes .shape-8 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 102, 0, 0.1);
    background: transparent;
    bottom: 10%;
    right: 35%;
    animation: floatShape2 16s ease-in-out infinite 3s;
    border-radius: 20% 80% 50% 50% / 50% 50% 80% 20%;
}

.hero-3d-shapes .shape-9 {
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 255, 0.06);
    top: 60%;
    left: 5%;
    animation: pulseGlow 4s ease-in-out infinite;
    border-radius: 0;
    transform: rotate(45deg);
}

.hero-3d-shapes .shape-10 {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.15), transparent);
    top: 10%;
    right: 20%;
    animation: floatShape 10s ease-in-out infinite;
    border-radius: 2px;
    transform: rotate(-30deg);
}

/* Grid overlay for hero */
.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 123, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 123, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
    transform: perspective(500px) rotateX(5deg);
    transform-origin: center bottom;
}

/* Hero content z-index */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    animation: fadeInDown 1s ease forwards;
}

.hero p {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-btns {
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--secondary), #ff8c00, var(--secondary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.3));
}

/* ===== IMAGE STYLES ===== */
.section-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: var(--transition);
}

.section-image:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.image-card img {
    width: 100%;
    display: block;
}

.img-with-text {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.img-with-text img {
    width: 100%;
    display: block;
}

.img-with-text .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.img-with-text .overlay h3 {
    color: white;
    margin: 0 0 5px;
    font-size: 1.3rem;
}

.img-with-text .overlay p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 0.95rem;
}

/* Image + content side by side */
.img-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.img-content-row.reverse {
    direction: rtl;
}

.img-content-row.reverse > * {
    direction: ltr;
}

.img-content-row .text-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.img-content-row .text-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== SERVICE CARD WITH IMAGE ===== */
.service-card.with-image {
    padding: 0;
    overflow: hidden;
}

.service-card.with-image .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card.with-image .card-body {
    padding: 25px;
}

.service-card.with-image .card-body .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* ===== SVG ICONS ===== */
.svg-icon {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card:hover .svg-icon {
    stroke: var(--secondary);
    transform: scale(1.1);
}

/* Page hero */
.page-hero {
    background: var(--dark);
    color: var(--white);
    padding: 130px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    animation: heroTextIn 0.8s ease forwards;
}

.page-hero p {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-top: 12px;
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: heroTextIn 0.8s ease 0.2s forwards;
}

/* Page hero mesh overlay */
.page-hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.page-hero-mesh .layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: meshMove 20s ease-in-out infinite alternate;
}

.page-hero-mesh .layer-1 {
    background: radial-gradient(ellipse, #3b82f6 0%, transparent 60%);
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.page-hero-mesh .layer-2 {
    background: radial-gradient(ellipse, #8b5cf6 0%, transparent 60%);
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -80px;
    top: auto;
    left: auto;
    animation-delay: -7s;
}

.page-hero-mesh .layer-3 {
    background: radial-gradient(ellipse, #f59e0b 0%, transparent 60%);
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.06;
}

/* Page hero with image bg */
.page-hero.with-bg {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.page-hero.with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-hero.with-bg > * {
    position: relative;
    z-index: 2;
}

/* Hero bottom accent line */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, #3b82f6, transparent);
    z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 15px 20px;
        gap: 5px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255,255,255,0.05);
        padding: 5px 15px;
        border-radius: 8px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

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

    .hero p {
        font-size: 1rem;
    }

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

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

    .page-hero {
        padding: 100px 0 50px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .float-btns {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .hero-wave svg {
        height: 40px;
    }

    .img-content-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .img-content-row.reverse {
        direction: ltr;
    }
}

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

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

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

    .hero-wave svg {
        height: 30px;
    }
}
