/* index.css - ClickAstro Themed Styles */

/* 🌌 Color Palette & Variables (Inspired by Astrology/Vedic Theme) */
:root {
  --primary-color: #6f2d91; /* Deep Violet/Purple (Authoritative/Mystical) */
  --secondary-color: #f7b500; /* Saffron/Gold Accent (Highlight/Underline) */
  --bg-light: #f9f9f9; /* Near-white background */
  --text-dark: #222222; /* Dark charcoal text */
  --card-bg: #ffffff;
  --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden !important;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* 💨 Keyframe Animations (Kept subtle and relevant) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  overflow-x: hidden;
}

/* ---------- HERO (Deep Purple Gradient) ---------- */
.hero {
  /* Using a celestial gradient: Deep Purple to Magenta */
  background: linear-gradient(135deg, var(--primary-color), #9d4edd);
  color: #fff;
  padding: 60px 18px;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}
.hero-inner h1 {
  font-size: 38px;
  margin-bottom: 8px;
  font-weight: 800; /* Bolder header */
}
.hero-inner p { font-size: 17px; opacity: 0.9; }

/* ---------- Section Header + Search ---------- */
.section-header-wrapper {
  margin-top: 36px;
  margin-bottom: 12px;
  animation: fadeIn 0.6s ease-out 0.2s backwards;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.section-header h2 {
  font-size: 26px;
  margin: 0;
  font-weight: 700; /* Bolder header */
  color: var(--text-dark);
}

.underline {
  width: 150px;
  height: 4px;
  background: var(--secondary-color); /* Gold accent underline */
  margin-top: 8px;
  border-radius: 2px;
}

.sub {
  margin: 6px 0 0;
  color: #555555;
  font-size: 15px;
}

/* ---------- Search Bar ---------- */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-wrap input[type="search"] {
  width: 340px;
  max-width: 48vw;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-size: 15px;
  color: var(--text-dark);
  transition: box-shadow .2s ease, border-color .2s ease, transform .1s ease;
}

.search-wrap input[type="search"]:focus {
  /* Focus ring uses the primary deep purple */
  box-shadow: 0 0 0 3px rgba(111, 45, 145, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.search-wrap button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #6b7280;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}

.search-wrap button:hover {
  background: rgba(111, 45, 145, 0.1); /* Subtle purple hover */
  color: var(--primary-color);
}

/* ---------- Carousel Wrapper ---------- */
.carousel-wrapper {
  position: relative;
  margin-top: 12px;
  overflow: hidden;
}

/* ---------- Grid (Paginated) ---------- */
.state-grid {
  display: grid;
  gap: 20px;
  padding: 20px 0;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}

/* ---------- SEARCH MODE (HORIZONTAL ROW) ---------- */
.search-carousel {
  display: flex !important;
  overflow-x: auto !important;
  gap: 20px;
  padding: 15px 0;
  width: 100% !important;
  scroll-behavior: smooth;
}

.search-carousel::-webkit-scrollbar { height: 10px; }
.search-carousel::-webkit-scrollbar-thumb {
  background: #c9c9c9;
  border-radius: 10px;
}
.search-carousel::-webkit-scrollbar-track {
  background: #e9e9e9;
  border-radius: 10px;
}

/* ---------- State Card (Clean White) ---------- */
.state-card {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow .3s ease;
  box-shadow: var(--shadow-subtle);
  border: 1px solid #f3f4f6;
  min-width: 160px;
  animation: slideInFromRight 0.5s ease-out;
}

.state-card .card-media {
  width: 100%;
  height: 120px;
  overflow: hidden;
  /* Placeholder background uses primary color lightened */
  background: #e8e0ee;
}

.state-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.state-card .card-body {
  padding: 12px 14px;
  text-align: center;
}

.state-card p {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

/* Hover effects */
.state-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.state-card:hover img { transform: scale(1.1); }

/* ---------- Round Navigation Buttons (Primary Purple) ---------- */
.nav-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: var(--secondary-color); /* Gold color for arrow icon */
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(111, 45, 145, 0.3);
  transition: all .2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}

.nav-circle:hover {
  transform: translateY(-50%) scale(1.1);
  background: #540a5a; /* Slightly darker purple on hover */
  box-shadow: 0 15px 35px rgba(111, 45, 145, 0.4);
}

.nav-left { left: 12px; }
.nav-right { right: 12px; }

.nav-circle:disabled {
  background: #a8a8a8;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .5;
  transform: translateY(-50%);
}

/* ---------- Pagination Info ---------- */
.pagination-info {
  text-align: center;
  margin: 15px 0;
  font-size: 15px;
  color: #4b5563;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.8s forwards;
}

/* --- ⚙️ FINALIZED RESPONSIVE BREAKPOINTS & UTILITIES (Including 3-Up Mobile Grid) --- */

/* Accessibility Variable */
:root {
    /* Define the focus color based on your primary theme color */
    --focus-color: rgba(111, 45, 145, 0.6);
    --focus-offset: 4px;
    --focus-width: 3px;
}

/* Desktop Large (min-width: 1200px) - Add an extra breakpoint for very large screens */
@media (min-width: 1200px) {
    /* Optional: Ensure 6 columns stays strong and cards don't get excessively large */
    .state-grid { 
        grid-template-columns: repeat(6, 1fr); 
        gap: 30px; /* Slightly larger gap on large screens */
    }
}


/* Desktop Standard (min-width: 1000px) */
@media (min-width: 1000px) {
    .state-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Tablet & Smaller Desktop (max-width: 999px and min-width: 600px) */
@media (max-width: 999px) and (min-width: 600px) {
    /* Standard Tablet View: 3 cards per row */
    .state-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 16px; 
    }
    .state-card .card-media { height: 140px; }
    
    /* Carousel Arrow Adjustment for narrower containers */
    .nav-left { left: 5px; }
    .nav-right { right: 5px; }
}

/* 📱 MOBILE DEVICES (max-width: 599px) - CONFIGURED FOR 3 CARDS PER ROW */
@media (max-width: 599px) {

    .section-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 10px; /* Tighter gap */
        padding: 10px 0;
    }
    
    .section-header h2 { font-size: 22px; } /* Slightly reduced font size */
    .underline { width: 80px; } /* Slightly shorter underline */

    .search-wrap { 
        width: 100%; 
        gap: 6px;
    }
    .search-wrap input[type="search"] {
        width: 100%;
        max-width: 100%;
        padding: 10px 12px;
        font-size: 14px;
    }

    .state-grid {
        /* *** CRITICAL FIX: 3 cards per row as requested *** */
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px; /* Tight gap is essential for 3-up layout */
    }

    .state-card .card-media { 
        height: 90px; /* Reduced height to keep card size manageable in 3-up layout */
    }
    
    /* Ensure text within the card doesn't wrap and break the grid layout */
    .state-card p {
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; 
    }

    /* Fixed Arrows (Smaller, closer to edge) */
    .nav-circle {
        width: 38px;
        height: 38px;
        font-size: 18px;
        top: 55%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4); /* Softer shadow for mobile */
    }

    .nav-left {
        left: 4px !important; /* Closer to edge */
        right: auto !important;
    }

    .nav-right {
        right: 4px !important; /* Closer to edge */
        left: auto !important;
    }
}

/* ♿ ENHANCED ACCESSIBILITY & FOCUS */
.state-card:focus-visible {
    /* Use focus-visible for better browser integration (focus only on keyboard/programmatic focus) */
    outline: var(--focus-width) solid var(--focus-color); 
    outline-offset: var(--focus-offset);
    border: 1px solid var(--primary-color); /* Add a border to the card for subtle shift */
}

/* Fallback for browsers not supporting :focus-visible */
.state-card:focus:not(:focus-visible) {
    /* Disable the outline if the focus was purely by mouse click */
    outline: none;
}

/* 🌟 CAROUSEL SCROLL ENHANCEMENT (For Search Mode) */
.search-carousel {
    /* Ensure the search carousel snaps cleanly to the start of items */
    scroll-snap-type: x mandatory;
    /* Allows for some overscroll bounce for a native feel */
    -webkit-overflow-scrolling: touch; 
}

/* Apply scroll snap to individual cards (Important: Card needs to be the width of one item + gap) */
.search-carousel .state-card {
    scroll-snap-align: start;
    /* Add scroll padding to prevent content from touching the edge when snapped */
    padding-left: 8px; 
}


/* 🔒 STRUCTURAL SAFETY */
.carousel-wrapper,
.section-header-wrapper {
    /* Reinforce hiding horizontal scrollbars */
    overflow: hidden !important; 
}


/* --- 🚀 ULTIMATE PROFESSIONAL ASTRO HERO SECTION CSS --- */

/* 🌌 Color Palette & Variables */
:root {
    --primary-color: #6f2d91;
    --secondary-color: #f7b500;
    --gold-text: #FFD700;
    --text-light: #f0f0f0;
}

/* Entrance Animations */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* 🚀 HERO SECTION CONTAINER */
.astro-hero {
    height: 70vh;
    width: 100%;
    padding: 0 5%;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    overflow: hidden;
    animation: fadeInScale 1.2s cubic-bezier(0.2, 0.5, 0.4, 1) forwards;
}

/* 🌌 Background Slider Container */
.background-slider-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Each background slide */
.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation-duration: 15s; /* 3 slides × 5 sec */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Assign images to slides */
.hero-bg-slide-1 {
    background-image: url("../../images/astro-bg.webp");
    animation-name: slide-1;
}

.hero-bg-slide-2 {
    background-image: url("../../images/astro-bg-2.webp");
    animation-name: slide-2;
}

.hero-bg-slide-3 {
    background-image: url("../../images/astro-bg-3.webp");
    animation-name: slide-3;
}


/* 🟣 OVERLAY GRADIENT FOR TEXT READABILITY */
.astro-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(27, 2, 49, 0.9),
        rgba(27, 2, 49, 0.65),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
    );
    z-index: 1;
}

/* 🌠 HERO TEXT AREA */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 550px;
    text-align: left;
}

.hero-content .sub-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    text-transform: uppercase;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.hero-content .main-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--gold-text);
    text-shadow: 0 5px 12px rgba(0, 0, 0, 1);
    line-height: 1.05;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.hero-content .hero-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-light);
    margin: 1rem 0 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.6s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

.hero-btn:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: scale(1.03) translateY(-2px);
}

/* ⭐ NO MORE BLANK GAP FIX — PERFECT 5s PER SLIDE */
@keyframes slide-1 {
    0%   { opacity: 1; }
    33%  { opacity: 1; }
    40%  { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes slide-2 {
    0%   { opacity: 0; }
    33%  { opacity: 0; }
    40%  { opacity: 1; }
    66%  { opacity: 1; }
    72%  { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes slide-3 {
    0%   { opacity: 0; }
    66%  { opacity: 0; }
    72%  { opacity: 1; }
    100% { opacity: 1; }
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .astro-hero { height: 50vh; }
    .hero-content .main-title { font-size: 1.9rem; }
    .hero-content .hero-text { font-size: 0.95rem; }
    .hero-btn { padding: 10px 20px; }
}



/* ===============================
   🌌 ASTROLOGY REVIEW SECTION
   =============================== */

.astro-reviews-section {
    width: 100%;
    padding: 80px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, #180a29, #2a1640);
    overflow: hidden;
    color: #fff;
}

/* ===============================
   ✨ Floating Zodiac Symbols
   =============================== */

.zodiac-bg {
    position: absolute;
    font-size: 110px;
    opacity: 0.07;
    color: #ffd700;
    animation: float 8s infinite ease-in-out;
    pointer-events: none;
}

.zodiac-1 { top: 10%; left: 5%; animation-duration: 10s; }
.zodiac-2 { bottom: 15%; right: 10%; animation-duration: 14s; }
.zodiac-3 { top: 40%; right: 30%; animation-duration: 12s; }

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

/* ===============================
   ✨ Section Titles
   =============================== */

.astro-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.7);
    margin-bottom: 5px;
}

.astro-sub {
    color: #d7c9ff;
    margin-bottom: 50px;
    font-size: 17px;
}

/* ===============================
   ⭐ Carousel Structure
   =============================== */

.carousel-container {
    width: 90%;
    margin: auto;
    overflow: hidden; /* Required for autoplay */
}

.carousel-wrapper {
    overflow: hidden;
}

/* CARD ROW (ONE LINE FIXED) */
.carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px;
    transition: transform 0.5s ease;
}

/* ===============================
   🌟 ASTROLOGY GOLDEN-GLOW CARD
   =============================== */

.review-card,
.astro-card {
    min-width: 360px !important;
    max-width: 360px !important;
    flex-shrink: 0 !important;

    background: rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 22px;

    border: 2px solid rgba(255, 215, 0, 0.35);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 25px rgba(255, 215, 0, 0.15),
        inset 0 0 12px rgba(255, 215, 0, 0.12);

    backdrop-filter: blur(12px);
    text-align: left;

    animation: fadeSlideUp 1.2s ease forwards;
    opacity: 0;
}

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

/* Hover Glow */
.astro-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 18px rgba(255, 215, 0, 0.55),
        0 0 35px rgba(255, 215, 0, 0.35),
        inset 0 0 20px rgba(255, 215, 0, 0.20);
    border-color: #ffd700;
}

/* ===============================
   ⭐ Text Elements
   =============================== */

.stars {
    color: #ffd700;
    font-size: 20px;
}

.shimmer {
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.date {
    margin: 10px 0;
    color: #f7e6ff;
    font-weight: 600;
}

.review-text {
    font-size: 15px;
    color: #e8d9ff;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===============================
   🌟 Avatar Golden Ring
   =============================== */

.avatar-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    color: #ffd700;
    font-size: 17px;
    font-weight: 700;
}

.author-role {
    color: #d2c2ff;
    font-size: 13px;
}

/* ===============================
   ⭐ Navigation Arrows
   =============================== */

.carousel-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 28px;

    border-radius: 50%;
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    cursor: pointer;

    box-shadow: 0 0 20px rgba(255,215,0,0.4);
    backdrop-filter: blur(6px);

    z-index: 999;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: #ffd700;
    color: #2a1640;
    box-shadow: 0 0 30px rgba(255,215,0,0.8);
}

.carousel-btn.left { left: 25px; }
.carousel-btn.right { right: 25px; }

/* ===============================
   ⭐ Responsive
   =============================== */

@media (max-width: 768px) {
    .review-card,
    .astro-card {
        min-width: 290px !important;
        max-width: 290px !important;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}


/* ===========================================
   🌙 ASTROLOGY FAQ SECTION – PREMIUM VERSION C
   =========================================== */

/* ----------- FAQ WRAPPER ----------- */
.faq-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: #e7e7e7;
}

/* ----------- FAQ CONTAINER ----------- */
.faq-container {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ----------- FAQ HEADER ----------- */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #000;
}

/* ----------- SEARCH BAR ----------- */
.faq-search {
    position: relative;
    width: 230px;
}

.faq-search input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: none;
    background: #f5f5f5;
    border-radius: 30px;
    outline: none;
    font-size: 15px;
    color: #333;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 11px;
    font-size: 18px;
    opacity: 0.6;
}

/* ----------- FAQ ITEMS ----------- */
.faq-item {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.faq-item.open {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ----------- QUESTION BUTTON ----------- */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question .arrow {
    font-size: 22px;
    transition: 0.3s;
    opacity: 0.7;
}

.faq-item.open .arrow {
    transform: rotate(180deg);
}

/* ----------- ANSWER ----------- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 18px;
}

.faq-answer p {
    padding: 15px 0 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
    .faq-container {
        max-width: 500px;
        padding: 20px;
    }

    .faq-header h2 {
        font-size: 32px;
    }

    .faq-search {
        width: 180px;
    }
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}




/* 🌟 FOOTER STYLES */
.astro-footer {
  background: #111;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 50px;
  position: relative;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3 {
  color: #ffd700;
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-col h4 {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col p,
.footer-col a,
.footer-bottom {
  color: #ddd;
  font-size: 18px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffd700;
  padding-left: 5px;
}

.social-links a {
  display: inline-block;
  font-size: 22px;
  margin-right: 10px;
  color: #ffd700;
  transition: 0.3s;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ffd700;
  color: #111;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.back-to-top:hover {
  transform: translateY(-4px);
}
