/* ============================================
   FOOTER
   ============================================ */

.footer {
	width: 100%;
	background: var(--gradient-primary);
	color: white;
	margin-top: auto;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.1),
		transparent
	);
	animation: shimmer 3s infinite;
}

@keyframes shimmer {
	0% {
		left: -100%;
	}
	100% {
		left: 100%;
	}
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--spacing-2xl) var(--spacing-lg);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-2xl);
	position: relative;
	z-index: 1;
}

.footer-section {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.footer-title {
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 1.5vw, 1.25rem);
	font-weight: 700;
	color: white;
	margin: 0;
	margin-bottom: var(--spacing-sm);
	position: relative;
}

.footer-title::after {
	content: '';
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	width: 40px;
	height: 2px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 2px;
}

.footer-description {
	font-family: var(--font-body);
	font-size: clamp(0.875rem, 1vw, 0.9375rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

.footer-links li {
	margin: 0;
}

.footer-link {
	font-family: var(--font-body);
	font-size: clamp(0.875rem, 1vw, 0.9375rem);
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: all var(--transition-base);
	display: inline-block;
	position: relative;
	padding-left: 0;
}

/* Light theme specific adjustments */
body:not(.dark-theme) .footer-link {
	color: rgba(255, 255, 255, 0.9);
}

body:not(.dark-theme) .footer-link:hover {
	color: white;
}

.footer-link::before {
	content: '→';
	position: absolute;
	left: -1.25rem;
	opacity: 0;
	transition: all var(--transition-base);
	color: white;
}

.footer-link:hover {
	color: white;
	padding-left: 1.25rem;
	transform: translateX(5px);
}

.footer-link:hover::before {
	opacity: 1;
	left: 0;
}

.social-media {
	display: flex;
	gap: var(--spacing-md);
	flex-wrap: wrap;
}

.social-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	font-size: 1.125rem;
	transition: all var(--transition-base);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon i {
	transition: transform var(--transition-base);
}

.social-icon:hover i {
	transform: scale(1.1);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding: var(--spacing-lg) var(--spacing-lg);
	text-align: center;
	position: relative;
	z-index: 1;
	background: rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
	margin: 0;
	font-size: clamp(0.75rem, 1vw, 0.875rem);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.3px;
}

.footer_div {
	font-size: var(--fs-base);
	font-weight: 500;
	color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
	.footer-container {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--spacing-xl);
		padding: var(--spacing-xl) var(--spacing-lg);
	}
}

@media (max-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
		padding: var(--spacing-lg) var(--spacing-md);
	}

	.footer-section {
		text-align: center;
	}

	.footer-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.footer-links {
		align-items: center;
	}

	.footer-link {
		text-align: center;
	}

	.social-media {
		justify-content: center;
	}

	.footer-bottom {
		padding: var(--spacing-md) var(--spacing-md);
	}
	
	.footer-bottom p,
	.footer_div {
		font-size: var(--fs-sm);
	}
}

@media (max-width: 480px) {
	.footer-container {
		padding: var(--spacing-md) var(--spacing-sm);
		gap: var(--spacing-md);
	}

	.social-icon {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.footer-bottom {
		padding: var(--spacing-sm) var(--spacing-sm);
	}
	
	.footer-bottom p,
	.footer_div {
		font-size: var(--fs-xs);
		line-height: 1.5;
	}
}

/* ============================================
   DARK THEME STYLES
   ============================================ */

body.dark-theme .footer {
	background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #0f172a 100%);
}

body.dark-theme .footer::before {
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.05),
		transparent
	);
}

body.dark-theme .footer-title {
	color: rgba(255, 255, 255, 0.95);
}

body.dark-theme .footer-title::after {
	background: rgba(255, 255, 255, 0.3);
}

body.dark-theme .footer-description {
	color: rgba(255, 255, 255, 0.75);
}

body.dark-theme .footer-link {
	color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .footer-link:hover {
	color: rgba(255, 255, 255, 1);
}

body.dark-theme .social-icon {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.9);
}

body.dark-theme .social-icon:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark-theme .footer-bottom {
	background: rgba(0, 0, 0, 0.2);
	border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .footer-bottom p {
	color: rgba(255, 255, 255, 0.75);
}
/* =================================
   FOOTER DESIGN 3: BOLD SPLIT STRIPE
   ================================= */

   .footer {
    width: 100%;
    background:
        linear-gradient(120deg, #020617 0%, #020617 48%, #020617 48%, #020617 100%),
        radial-gradient(circle at 0% 0%, #22c55e 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, #fb923c 0%, transparent 55%);
    background-blend-mode: normal, soft-light, soft-light;
    color: #f9fafb;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Diagonal accent bar */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0%, transparent 48%, rgba(148, 163, 184, 0.25) 49%, rgba(148, 163, 184, 0.25) 51%, transparent 52%, transparent 100%);
    mix-blend-mode: soft-light;
    opacity: 0.75;
    pointer-events: none;
}

/* No shimmer animation for this style */

/* Top accent strip */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #22d3ee, #f97316, #ec4899);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.6);
}

/* Layout with strong grid + left border line */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.2rem 1.75rem 2.6rem;
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(150px, 0.9fr));
    gap: 2.4rem;
    position: relative;
    z-index: 1;
    border-left: 1px solid rgba(148, 163, 184, 0.5);
}

/* Sections: minimal, clean */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Title with underline and neon dot */
.footer-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
    margin: 0 0 0.35rem;
    position: relative;
    padding-bottom: 0.55rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #22d3ee, #a855f7);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 56px;
    bottom: -1px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}

/* About text */
.footer-description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.85);
    margin: 0;
}

/* Links – underline slide-in */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(209, 213, 219, 0.92);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.08rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #22d3ee, #f97316);
    transition: width 0.22s ease-out;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-link:hover::before {
    width: 100%;
}

/* Social icons – solid with radial highlight */
.social-media {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.9), transparent 52%),
                linear-gradient(145deg, #0b1120, #111827);
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    font-size: 1.05rem;
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    border-color: #22d3ee;
    color: #f9fafb;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.8), transparent 55%),
        linear-gradient(145deg, #020617, #020617);
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.9),
        0 0 24px rgba(34, 211, 238, 0.6);
}

.social-icon i {
    transition: transform 0.18s ease;
}

.social-icon:hover i {
    transform: scale(1.06);
}

/* Bottom – full-width bar with subtle gradient */
.footer-bottom {
    margin-top: 0.5rem;
    padding: 1rem 1.75rem 1.4rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    border-top: 1px solid rgba(148, 163, 184, 0.6);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(156, 163, 175, 0.95);
}

/* Responsive layout changes */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 2.8rem 1.5rem 2.3rem;
        gap: 2rem;
        border-left: none;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 2.4rem 1.4rem 2rem;
        gap: 1.8rem;
    }
    .footer-section {
        text-align: left;
    }
    .footer-title::after,
    .footer-title::before {
        left: 0;
    }
    .social-media {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 2rem 1.2rem 1.8rem;
    }
    .social-icon {
        width: 38px;
        height: 38px;
    }
    .footer-bottom {
        padding: 1rem 1.2rem 1.3rem;
    }
}

/* ===============================
   FOOTER DESIGN 1: GLASS AURORA
   =============================== */

   .footer {
    width: 100%;
    background: radial-gradient(circle at 0% 0%, #1e293b 0%, #020617 40%, #000 100%);
    color: white;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Soft animated gradient blobs */
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.65;
    z-index: 0;
}
.footer::before {
    background: conic-gradient(from 140deg, #22c55e, #0ea5e9, #8b5cf6, #22c55e);
    top: -120px;
    left: -120px;
}
.footer::after {
    background: conic-gradient(from -40deg, #f97316, #e11d48, #a855f7, #f97316);
    bottom: -180px;
    right: -120px;
}

/* Remove shimmer from base and replace with subtle highlight */
@keyframes shimmer {
    0% { opacity: 0.4; transform: translateX(-30%); }
    50% { opacity: 0.8; transform: translateX(0); }
    100% { opacity: 0.4; transform: translateX(30%); }
}

.footer::before,
.footer::after {
    animation: shimmer 12s ease-in-out infinite alternate;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.75rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.75rem;
    position: relative;
    z-index: 1;
}

/* Frosted glass cards */
.footer-section {
    padding: 1.5rem 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.35));
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Titles with gradient accent pill */
.footer-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(226, 232, 240, 0.95);
    margin: 0 0 0.25rem;
    position: relative;
    padding-left: 0.75rem;
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 3px;
    height: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #22c55e, #0ea5e9, #8b5cf6);
}

.footer-title::after {
    content: none;
}

.footer-description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.8);
    margin: 0;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    padding: 0.15rem 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: radial-gradient(circle, rgba(248, 250, 252, 0.95) 0%, transparent 60%);
    opacity: 0.45;
    transform: translateX(0);
    transition: all 0.25s ease;
}

.footer-link:hover {
    color: #f9fafb;
    transform: translateX(4px);
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(2px) scale(1.15);
    border-color: #38bdf8;
}

/* Social icons – glass, glowing ring */
.social-media {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.25));
    border: 1px solid rgba(148, 163, 184, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248, 250, 252, 0.95);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 12px 35px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.social-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.6), transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.06);
    border-color: #38bdf8;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.9),
        0 0 20px rgba(56, 189, 248, 0.4);
}

.social-icon:hover::after {
    opacity: 1;
}

.social-icon i {
    transition: transform 0.25s ease;
}

.social-icon:hover i {
    transform: scale(1.08);
}

/* Bottom strip */
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.25rem 1.75rem 1.75rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.5));
    backdrop-filter: blur(14px);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .footer-container {
        padding: 2.4rem 1.25rem 1.9rem;
        gap: 1.8rem;
    }
    .footer-section {
        padding: 1.25rem 1.1rem;
        text-align: left;
    }
    .footer-links {
        align-items: flex-start;
    }
    .social-media {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 2rem 1.1rem 1.75rem;
    }
    .social-icon {
        width: 34px;
        height: 34px;
    }
    .footer-bottom {
        padding: 1rem 1.25rem 1.4rem;
    }
}
