/*
Theme Name: Ahmed Pipul
Theme URI: #
Author: Ahmed Pipul
Version: 1.0
Text Domain: aptheme
*/

:root {
  /* Ultra-Glossy Obsidian & Gold Palette */
  --bg-dark: #030303;
  --bg-card: rgba(15, 15, 15, 0.4);
  --gold-primary: #e6b95c;
  --gold-bright: #ffdf85;
  --gold-glow: rgba(230, 185, 92, 0.4);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  
  /* Hyper-smooth easing */
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 🌟 AMBIENT ANIMATED BACKGROUND 🌟 */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow 15s infinite alternate ease-in-out;
}

body::before {
  width: 40vw; height: 40vw;
  top: -10%; left: -10%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

body::after {
  width: 30vw; height: 30vw;
  bottom: 10%; right: -5%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation-delay: -7s;
}


/* logo for dynamic */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* hero elementor */
.hero .hero-img-wrap{
    height:100%;
}

.hero .hero-img-wrap img{
    display:block;
}
.ap-hero-wrapper{
    width:100%;
}

.ap-hero-wrapper .hero{
    width:100%;
    min-height:100vh;
}



.ap-hero-wrapper .hero-right{
    min-height:100vh;
    position:relative;
}

.ap-hero-wrapper .hero-img-wrap{
    width:100%;
    height:100%;
    overflow:hidden;
}

.ap-hero-wrapper .hero-img-wrap img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.elementor-widget-ap-hero,
.elementor-widget-ap-hero .elementor-widget-container{
    width:100%;
}

/* =========================================
   AP ABOUT WIDGET (Elementor)
========================================= */
.elementor-widget-ap-about,
.elementor-widget-ap-about .elementor-widget-container {
    width: 100%;
}

.ap-about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 4rem;
}

/* LEFT — image column */
.about-left {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-img-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 5;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    animation: float 6s ease-in-out infinite;
    flex-shrink: 0;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 30px;
}

/* decorative offset border */
.about-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold-glow);
    border-radius: 30px;
    transform: translate(20px, 20px);
    pointer-events: none;
    transition: all 0.5s var(--spring);
}

.about-img-frame:hover::after {
    transform: translate(10px, 10px);
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* RIGHT — text column */
.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.about-body {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* =========================================
   RESPONSIVE — AP ABOUT WIDGET
========================================= */
@media (max-width: 1024px) {
    .ap-about-wrapper {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 6rem 2.5rem;
    }

    .about-left {
        order: 1;
        justify-content: center;
    }

    .about-img-frame {
        max-width: 380px;
        width: 100%;
    }

    .about-right {
        order: 2;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .ap-about-wrapper {
        padding: 4rem 1.5rem;
        gap: 2.5rem;
    }

    .about-img-frame {
        max-width: 100%;
        aspect-ratio: 3 / 4;
    }

    .about-img-frame::after {
        transform: translate(10px, 10px);
    }

    .about-right {
        max-width: 100%;
    }
}

/* =========================================
   GLOSSY NAV & HAMBURGER
========================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5rem;
  background: rgba(3, 3, 3, 0.4);
  backdrop-filter: blur(30px) saturate(250%);
  -webkit-backdrop-filter: blur(30px) saturate(250%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 -1px 0 rgba(255,255,255,0.05);
  transition: padding 0.4s var(--smooth);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.nav-logo span {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 101;
  order: 3;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--gold-bright);
  transition: all 0.3s ease;
}

.nav-cta-mobile { display: none; }


.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--spring);
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  background: linear-gradient(180deg, rgba(30,30,30,0.8) 0%, rgba(10,10,10,0.9) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  color: var(--gold-bright);
  text-decoration: none;
  box-shadow: 0 0 15px var(--gold-glow), inset 0 1px 1px var(--glass-highlight);
  transition: all 0.4s var(--spring);
  animation: pulseGlow 2s infinite alternate;
}

.nav-cta:hover {
  background: var(--gold-primary);
  color: #000;
  box-shadow: 0 0 30px var(--gold-primary), inset 0 2px 2px rgba(255,255,255,0.8);
  transform: scale(1.05);
  animation: none;
}

/* =========================================
   HERO
========================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 6rem;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-shadow: 0 0 10px var(--gold-glow);
}

.hero-eyebrow::before {
  content: ''; display: block; width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright));
  box-shadow: 0 0 10px var(--gold-bright);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.8rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-title em {
  background: linear-gradient(to bottom right, #fff, var(--gold-bright), var(--gold-primary));
  -webkit-background-clip: text;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3rem;
}

.hero-btns { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.btn-primary {
  padding: 1.2rem 3rem;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  color: #000;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px var(--gold-glow), inset 0 2px 2px rgba(255,255,255,0.8);
  transition: all 0.4s var(--spring);
}

.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px var(--gold-glow), inset 0 2px 5px #fff;
}

.btn-outline {
  padding: 1.2rem 3rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-main);
  border-radius: 50px;
  box-shadow: inset 0 1px 1px var(--glass-highlight);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--spring);
}

.btn-outline:hover {
  border-color: var(--text-main);
  box-shadow: 0 0 20px rgba(255,255,255,0.2), inset 0 1px 2px #fff;
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex; gap: 4rem;
  margin-top: 4.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--glass-border);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text; color: transparent;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.stat-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 0.5rem;
}

.hero-right {
  position: relative;
  border-bottom-left-radius: 60px;
  overflow: hidden;
  box-shadow: inset 0 0 60px #000;
}

.hero-img-wrap img {
  height: 100%; width: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.9);
  animation: breathe 10s infinite alternate ease-in-out;
}

.hero-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-dark) 100%);
}

.hero-deco {
  position: absolute; top: 4rem; right: 4rem;
  width: 100px; height: 100px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-bright);
  text-align: center; line-height: 1.4;
  background: rgba(230, 185, 92, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px var(--gold-glow), inset 0 0 10px var(--gold-glow);
  animation: spinSlow 15s linear infinite;
}

/* =========================================
   ABOUT 
========================================= */
/* #about layout handled by .ap-about-wrapper in the widget CSS block above */

.section-eyebrow {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  text-shadow: 0 0 10px var(--gold-glow);
}
.section-eyebrow::before {
  content: ''; width: 40px; height: 2px;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
}

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4vw, 4rem); font-weight: 400;
  line-height: 1.15; margin-bottom: 2rem; color: #fff;
}
.about-title em { color: var(--gold-primary); font-style: italic; text-shadow: 0 0 20px var(--gold-glow); }

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-style: italic;
  color: #fff; border-left: 3px solid var(--gold-primary);
  padding-left: 2rem; margin: 3rem 0;
  text-shadow: 0 2px 10px rgba(255,255,255,0.2);
  box-shadow: -10px 0 20px -10px var(--gold-glow);
}

.about-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.about-tag {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 30px; color: var(--text-muted);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px var(--glass-highlight);
  transition: all 0.4s var(--spring);
}

.about-tag:hover {
  background: var(--gold-primary);
  color: #000; border-color: var(--gold-bright);
  box-shadow: 0 0 20px var(--gold-glow), inset 0 1px 2px #fff;
  transform: translateY(-3px);
}

/* =========================================
   EXPERTISE
========================================= */
#expertise { padding: 10rem 5rem; background: rgba(5,5,5,0.5); position: relative; z-index: 10; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 5vw, 5rem);
  font-weight: 400; color: #fff;
}

.expertise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}

.expertise-card {
  padding: 4rem 3rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  position: relative; overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: all 0.5s var(--spring);
}

.expertise-card::before {
  content: ''; position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none;
}

.expertise-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px var(--gold-glow), inset 0 1px 1px #fff;
}
.expertise-card:hover::before { opacity: 1; }

.exp-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  -webkit-background-clip: text; color: transparent;
  margin-bottom: 1.5rem; line-height: 1;
  transition: all 0.4s ease;
}

.expertise-card:hover .exp-num {
  background: linear-gradient(180deg, var(--gold-bright) 0%, transparent 100%);
  -webkit-background-clip: text;
  transform: scale(1.1) translateX(10px);
}

.exp-title { font-size: 1.8rem; margin-bottom: 1rem; color: #fff; }
.exp-desc { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }

/* =========================================
   BLOG (RESIZED & MARGINS ADDED)
========================================= */
#blog { padding: 6rem 8vw; }
#blog .section-header { margin-bottom: 3rem; }

.blog-cards { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5), inset 0 1px 1px var(--glass-highlight);
  transition: all 0.5s var(--spring);
  cursor: pointer; display: flex; flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0,0,0,0.8), 0 0 20px rgba(230,185,92,0.2);
}

.blog-card-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--smooth); }
.blog-card:hover .blog-card-thumb img { transform: scale(1.08); }

.blog-card-body { padding: 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { color: var(--gold-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-shadow: 0 0 10px var(--gold-glow); }
.blog-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: #fff; margin: 0.6rem 0; line-height: 1.3; }
.blog-card-excerpt { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.2rem; color: var(--text-muted); }
.blog-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; }
.blog-card-meta { color: var(--text-muted); }
.blog-read-link { color: var(--gold-primary); text-shadow: 0 0 8px var(--gold-glow); font-weight: bold; text-decoration: none; }

/* =========================================
   GALLERY (RESIZED & MARGINS ADDED)
========================================= */
#gallery { padding: 6rem 8vw; background: rgba(0,0,0,0.4); }
.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.2rem; 
  margin: 2.5rem auto 0; 
  max-width: 1100px; 
}

.gallery-item {
  border-radius: 12px; overflow: hidden; position: relative;
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
  border: 1px solid var(--glass-border);
  aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.6s var(--spring); filter: grayscale(50%); }
.gallery-item:hover img { transform: scale(1.08); filter: grayscale(0%) contrast(1.2); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { font-size: 0.75rem; font-weight: 700; color: var(--gold-bright); letter-spacing: 0.2em; }

/* =========================================
   BLOG PAGINATION
========================================= */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.page-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--spring);
  font-family: 'DM Sans', sans-serif;
}

.page-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-glow);
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  border-color: var(--gold-bright);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--gold-glow), inset 0 1px 1px rgba(255,255,255,0.6);
}

.page-btn.active:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--gold-glow); }

.page-btn.page-prev,
.page-btn.page-next { font-size: 1rem; color: var(--gold-primary); }

.page-ellipsis {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 0 0.2rem;
  line-height: 42px;
}

/* =========================================
   SOCIAL & FOOTER
========================================= */
#social { padding: 8rem 5rem; background: transparent; text-align: center; }
.social-heading { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 4vw, 4rem); font-style: italic; color: #fff; margin-bottom: 5rem; text-shadow: 0 0 20px rgba(255,255,255,0.2); }

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.social-btn {
  display: flex; align-items: center; gap: 1.5rem; padding: 2rem;
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); border-radius: 25px;
  color: var(--text-main); text-decoration: none;
  box-shadow: inset 0 1px 1px var(--glass-highlight);
  transition: all 0.4s var(--spring);
}

.social-btn:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(230,185,92,0.1);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px var(--gold-glow), inset 0 1px 1px #fff;
}
.social-btn svg { width: 30px; height: 30px; color: var(--gold-primary); }
.social-btn-text { text-align: left; }
.social-btn-name { display: block; font-weight: bold; font-size: 1.1rem; }
.social-btn-handle { display: block; font-size: 0.8rem; color: var(--text-muted); }

/* FOOTER */
footer {
  background: #020202;
  color: var(--text-main);
  padding: 8rem 6rem 3rem;
  border-top: 1px solid var(--glass-border);
  box-shadow: inset 0 20px 50px rgba(0,0,0,1);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.footer-brand span {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 2rem;
  text-shadow: 0 0 10px var(--gold-glow);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s var(--spring);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text-main);
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.4s var(--spring);
}

.footer-social a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 15px var(--gold-glow);
  transform: translateY(-3px) scale(1.05);
}

/* =========================================
   SCROLL TO TOP BUTTON
========================================= */
#scrollToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5), inset 0 2px 2px rgba(255,255,255,0.8);
  border: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--spring);
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--gold-glow), inset 0 2px 5px #fff;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes pulseGlow { 0% { box-shadow: 0 0 10px var(--gold-glow); } 100% { box-shadow: 0 0 30px var(--gold-primary); } }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes floatGlow { 0% { transform: translate(0, 0) scale(1); opacity: 0.5; } 100% { transform: translate(50px, 50px) scale(1.2); opacity: 1; } }
@keyframes breathe { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
@keyframes spinSlow { 100% { transform: rotate(360deg); } }

/* =========================================
   RESPONSIVE (UPDATED FOR HAMBURGER)
========================================= */
@media(max-width: 1024px) {
  nav { padding: 1.2rem 2.5rem; }
  
  /* Mobile Menu Styles */
  .hamburger { display: flex; }
  .nav-cta.desktop { display: none; }
  .nav-cta-mobile { display: list-item; }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 2.5rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    border-bottom: 1px solid var(--glass-border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.45s var(--spring);
    z-index: 99;
    pointer-events: none;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: all;
  }

  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 60vh; border-radius: 0 0 40px 40px; }
  #expertise { padding: 5rem 6vw; }
  #blog { padding: 5rem 6vw; }
  #gallery { padding: 5rem 6vw; }
  /* .ap-about-wrapper responsive handled in widget CSS block */
  .expertise-grid { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  
  /* Footer Responsive */
  footer { padding: 6rem 2.5rem 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.footer-social {
    display:flex;
    gap:1rem;
    align-items:center;
    justify-content:center;
    margin-bottom:2rem;
}

.footer-social a {
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--bg-card);
    border:1px solid var(--glass-border);
    color:var(--gold-primary);
    text-decoration:none;
    font-size:1.1rem;
    transition:all .4s var(--spring);
    backdrop-filter:blur(10px);
}

.footer-social a:hover {
    transform:translateY(-5px) scale(1.1);
    background:rgba(230,185,92,.1);
    border-color:var(--gold-primary);
    color:var(--gold-bright);
    box-shadow:0 0 20px var(--gold-glow);
}

/* Scroll To Top Button */
#scrollToTop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: #333; /* Change to your theme color */
    color: #fff;           /* Color of the arrow */
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#scrollToTop:hover {
    background-color: #555;
    transform: translateY(-2px); /* Subtle lift effect on hover */
}

/* Control the size of the SVG arrow inside the button */
#scrollToTop .svg-arrow-up {
    width: 20px;
    height: 20px;
}



@media(max-width: 600px) {
  .hero-left { padding: 6rem 1.5rem; }
  .hero-stats { flex-direction: column; gap: 2rem; }
  .social-grid { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  #scrollToTop { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1.2rem; }
  
  /* Footer Mobile */
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}