/* ============================================
   My Pharmacy — Dearborn, MI
   Custom Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1a;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-700);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-light {
    background: #ffffff;
    color: var(--teal-700);
    box-shadow: var(--shadow-lg);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Section Headers ---------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--teal-50);
    color: var(--teal-700);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.7;
}

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

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--teal-700);
}

.logo-icon {
    color: var(--teal-600);
}

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

.nav-links a:not(.nav-cta) {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--slate-600);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-600);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover {
    color: var(--teal-700);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--teal-600);
    color: #ffffff !important;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    color: var(--slate-700);
    padding: 8px 16px;
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--teal-600);
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--teal-600);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    margin-top: 8px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--teal-900) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--teal-600);
    top: -150px;
    right: -100px;
    opacity: 0.2;
}

.hero-circle-2 {
    width: 350px;
    height: 350px;
    background: var(--teal-400);
    bottom: -100px;
    left: -50px;
    opacity: 0.15;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    background: var(--teal-300);
    top: 40%;
    left: 45%;
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(13, 148, 136, 0.2);
    border: 1px solid rgba(13, 148, 136, 0.4);
    border-radius: var(--radius-full);
    color: var(--teal-200);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--slate-300);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate-300);
    font-size: 14px;
    font-weight: 500;
}

.trust-item svg {
    color: var(--teal-400);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
}

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

.floating-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
}

.floating-card-label {
    display: block;
    font-size: 12px;
    color: var(--slate-400);
    font-weight: 500;
}

.floating-card-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--slate-800);
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: #ffffff;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--slate-800);
}

.service-card p {
    font-size: 15px;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: #ffffff;
}

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

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

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
}

.about-image-secondary img {
    width: 300px;
    height: 260px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--teal-600);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.exp-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 4px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--slate-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin: 28px 0 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 50%;
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-size: 14px;
    color: var(--slate-700);
    font-weight: 500;
    line-height: 1.5;
}

.about-content .btn {
    margin-top: 8px;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--slate-200);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-600));
    opacity: 0;
    transition: opacity var(--transition);
}

.why-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--slate-100);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.why-card:hover .why-card-number {
    color: var(--teal-100);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.why-card:hover .why-card-icon {
    background: var(--teal-600);
    color: #ffffff;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--slate-800);
}

.why-card p {
    font-size: 15px;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
}

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

.testimonial-card {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--teal-600);
}

.testimonial-text {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: 50%;
    color: var(--teal-700);
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--slate-800);
}

.author-location {
    display: block;
    font-size: 13px;
    color: var(--slate-400);
    margin-top: 2px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 16px;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

.detail-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 15px;
    color: var(--slate-700);
    font-weight: 500;
    line-height: 1.6;
}

.detail-link {
    color: var(--teal-600);
}

.detail-link:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 100%;
}

.contact-form-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-intro {
    font-size: 15px;
    color: var(--slate-500);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--slate-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 50%;
    color: var(--teal-600);
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 15px;
    color: var(--slate-500);
}

/* ---------- Map CTA ---------- */
.map-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
    overflow: hidden;
}

.map-cta-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/9585237/pexels-photo-9585237.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1400&h=400') center/cover no-repeat;
}

.map-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 94, 89, 0.92) 0%, rgba(8, 14, 26, 0.88) 100%);
}

.map-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.map-cta-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: #ffffff;
    margin-bottom: 16px;
}

.map-cta-content p {
    font-size: 17px;
    color: var(--teal-200);
    margin-bottom: 32px;
    line-height: 1.7;
}

.map-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--teal-400);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--slate-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact svg {
    color: var(--teal-400);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: var(--slate-400);
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--slate-500);
}

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

.footer-bottom a:hover {
    color: var(--teal-400);
}

/* ---------- Scroll Animations ---------- */
[data-animate] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="false"] {
    opacity: 0;
    transform: translateY(30px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-image-wrapper img {
        height: 560px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-image-wrapper img {
        height: 450px;
    }

    .hero-floating-card {
        left: 10px;
        bottom: 20px;
    }

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

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

    .about-image-secondary {
        right: 0;
        bottom: -20px;
    }

    .about-image-secondary img {
        width: 220px;
        height: 190px;
    }

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-floating-card {
        left: 0;
        right: 0;
        justify-content: center;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .hero-floating-card {
        animation: none;
    }
}
