/* ============================================
   SHAPES & SHADES - MAIN STYLESHEET
   Minimalistic Black & White Luxury Design
   ============================================ */

/* ============================================
   ROOT VARIABLES & RESET
   ============================================ */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-dark: #1a1a1a;
    --gray-medium: #666666;
    --gray-light: #e5e5e5;
    --text: #111111;
    --text-muted: #555555;
    --text-inverse: #ffffff;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Accent colors for gradients and shapes */
    --accent-1: #f4c0d6;
    --accent-2: #6ce7ff;
    --accent-3: #ffdf7d;
    --accent-4: #a29bfe;

    --shadow: rgba(0, 0, 0, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 1), rgba(247, 247, 247, 1)) fixed;
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Decorative gradient shapes */
.shape {
    position: absolute;
    opacity: 0.65;
    mix-blend-mode: screen;
    pointer-events: none;
    --px: 0px;
    --py: 0px;
    animation: float 12s ease-in-out infinite;
    will-change: transform, opacity, clip-path, border-radius, width, height;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: clip-path 0.8s ease, border-radius 0.8s ease, width 0.7s ease, height 0.7s ease, transform 0.7s ease, opacity 0.7s ease, box-shadow 0.7s ease;
    box-shadow: 0 0 20px rgba(255,255,255,0.45), 0 0 40px rgba(255,255,255,0.25);
}

.shape.la-line {
    background: rgba(255, 255, 255, 0.6);
}

.shape.js-geom {
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 60%);
}

.shape--large {
    width: 320px;
    height: 320px;
}

.shape--medium {
    width: 180px;
    height: 180px;
}

.shape--small {
    width: 120px;
    height: 120px;
}

.shape--accent-1 {
    background: radial-gradient(circle at 30% 30%, var(--accent-1), transparent 65%);
}

.shape--accent-2 {
    background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 65%);
}

.shape--accent-3 {
    background: radial-gradient(circle at 30% 30%, var(--accent-3), transparent 65%);
}

.shape--accent-4 {
    background: radial-gradient(circle at 30% 30%, var(--accent-4), transparent 65%);
}

@keyframes float {
    0%, 100% { transform: translate3d(var(--px), var(--py), 0) translateY(0) scale(1) rotate(0deg); }
    25% { transform: translate3d(var(--px), var(--py), 0) translateY(-12px) scale(1.03) rotate(7deg); }
    50% { transform: translate3d(var(--px), var(--py), 0) translateY(-18px) scale(1.02) rotate(14deg); }
    75% { transform: translate3d(var(--px), var(--py), 0) translateY(-14px) scale(1.01) rotate(7deg); }
}

/* AOS-style animation helpers */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}

[data-aos="fade-down"] {
    transform: translateY(-20px);
}

[data-aos="fade-left"] {
    transform: translateX(20px);
}

[data-aos="fade-right"] {
    transform: translateX(-20px);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0);
}

/* ============================================
   BLUR-UP PLACEHOLDER EFFECT
   ============================================ */
.blur-up {
    filter: blur(18px);
    transform: scale(1.02);
    transition: filter 0.7s ease, transform 0.7s ease;
    will-change: filter, transform;
}

/* Ensure images are sharp once loaded */
.blur-up.loaded {
    filter: none;
    transform: none;
}

section.portfolio-grid {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
}

section.portfolio-grid {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text);
}

h1 {
    font-weight: 600;
}

p {
    font-weight: 300;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1.5rem 0;
    transition: var(--transition);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

/* Keep navbar readable on the hero background */
.hero-section .navbar {
    background-color: transparent;
    box-shadow: none;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--text) !important;
    transition: var(--transition);
}

.hero-section .navbar-brand {
    color: var(--white) !important;
}

.brand-shapes, .brand-shades {
    transition: var(--transition);
}

.navbar-brand:hover .brand-shapes {
    letter-spacing: 0.2em;
}

.brand-divider {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-left: 2rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: var(--transition);
}

.hero-section .nav-link {
    color: var(--white) !important;
}

.hero-section .nav-link::after {
    background-color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: 1px solid var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar-expand-lg {
        background-color: rgba(0, 0, 0, 0.96);
    }
}

@media (max-width: 991px) {

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-toggler {
        border: 1px solid #fff;
        padding: 6px 10px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler {
        border-radius: 8px;
    }

    .logo {
        height: 35px;
    }
}
/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.95));
    background-image: url("../img/India Bulls Tower/PHOTO-2022-06-21-15-54-29.jpg") !important;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: opacity 0.4s ease-out;
    will-change: opacity;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

.shape {
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 100;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    padding-top: 10rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-custom {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    border: 2px solid var(--black);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    transition: var(--transition);
    z-index: -1;
}

.btn-custom:hover {
    color: var(--white);
}

.btn-custom:hover::before {
    left: 0;
}

.btn-custom-inverse {
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-custom-inverse::before {
    background-color: var(--white);
}

.btn-custom-inverse:hover {
    color: var(--black);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1,
.page-header p,
.cta-section h1,
.cta-section h2,
.cta-section p,
.hero-section h1,
.hero-section p {
    color: var(--text-inverse);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 100;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.8;
    color: white;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gray-medium);
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.title-underline {
    width: 60px;
    height: 2px;
    background-color: var(--black);
    margin-bottom: 2rem;
}

.title-underline.mx-auto {
    margin-left: auto;
    margin-right: auto;
}



/* Smooth Image Scroller */
.gallery-wrapper {
  position: relative;
  width: 100%;
  margin: 10px 0 0 0;
  overflow: hidden;
}

.gallery-wrapper:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow {
  opacity: 0.6;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow.left {
  left: 10px;
}

.gallery-arrow.right {
  right: 10px;
}

.image-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 60px; /* Space for arrows */
  scrollbar-width: none; /* Firefox */
  scroll-snap-type: x mandatory; /* Key: Snap to cards smoothly */
  will-change: scroll-position; /* Optimize perf */
}

.image-scroll-container::-webkit-scrollbar {
  display: none;
}

.image-card {
  min-width: 320px;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  scroll-snap-align: start; /* Key: Snap point */
  transform: translateZ(0); /* GPU acceleration */
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
  transform-origin: center center;
  will-change: transform;
}

.image-card:hover img {
  transform: scale(1.05);
}

.gallery-grid {
  column-count: 3; /* Base: 3 cols */
  column-gap: 1rem;
  padding: 1rem 0;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 1rem;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.5s ease-in-out;
  transform-origin: center center;
  will-change: transform;
  break-inside: avoid; /* Prevent image split across columns */
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid {
    column-count: 2;
  }
  .image-card {
    min-width: 240px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    column-count: 2;
  }
  .image-card {
    min-width: 45%;
  }
}

@media (max-width: 360px) {
  .gallery-grid {
    column-count: 1;
  }
  .image-card {
    min-width: 100%;
  }
}


/* Image Zoom Modal */
/* ============================================
   PERFECTLY CENTERED MODAL WITH BLUR/BLACK BG
   ============================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.95); /* Full black overlay */
  /* OPTION 1: For BLURRED BACKGROUND - uncomment below */
  /* backdrop-filter: blur(8px); */
  /* -webkit-backdrop-filter: blur(8px); */
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* PERFECT CENTER */
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  border-radius: 12px;
  animation: zoomIn 0.4s ease;
}

.modal-arrow {
  position: fixed; /* Changed from absolute */
  top: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  border: none;
  color: white;
  /* ... other styles ... */
  background-color: rgba(0,0,0,0.4); /* Semi-transparent */
  backdrop-filter: blur(8px);        /* BLUR MAGIC ✨ */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
}

.modal-arrow:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-50%) scale(1.2);
}

.modal-arrow.prev {
  left: calc(50% - 480px); /* Half of max-width + padding */
}

.modal-arrow.next {
  right: calc(50% - 480px);
}

.close-modal {
  position: fixed;
  top: 30px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  z-index: 1001;
  cursor: pointer;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.close-modal:hover {
  color: #fff;
  background: rgba(0,0,0,0.8);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { 
    transform: translate(-50%, -50%) scale(0.7); 
    opacity: 0;
  }
  to { 
    transform: translate(-50%, -50%) scale(1); 
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .modal-arrow {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .modal-arrow.prev {
    left: 10px;
  }
  
  .modal-arrow.next {
    right: 10px;
  }
  
  .close-modal {
    top: 15px;
    right: 15px;
    font-size: 32px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    max-height: 80vh;
  }
}



/* Image Slider & Gallery */

.image-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;   /* 🔥 */
    padding: 10px 0;
}

.image-card {
    min-width: 320px;
    height: 240px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;   /* 🔥 */
}

/* ===== Arrow Buttons ===== */
/* ===== Arrow Buttons ===== */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: white;
    border: 1px solid rgba(255,255,255,0.3);

    font-size: 28px;
    width: 50px;
    height: 50px;

    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s ease;
}

/* Push arrows slightly inside */
.gallery-arrow.left {
    left: 15px;
}

.gallery-arrow.right {
    right: 15px;
}

.gallery-arrow:hover {
    background: black;
}

/* .gallery-arrow.left {
    left: 0;
}

.gallery-arrow.right {
    right: 0;
} */

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .image-card {
        min-width: 260px;
        height: 200px;
    }
}
  /* ============================================ */
.image-placeholder {
    /* background: linear-gradient(135deg, var(--gray-light) 0%, #f5f5f5 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-fluid-projects {
    max-height: 100%;
    width: auto;
}

.project-image,
.team-image,
.service-detail-image,
.portfolio-image,
.modal-image {
    width: 100%;
    transition: transform 0.5s ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

.project-image {
    height: 350px;
}

.team-image {
    height: 350px;
}

.service-detail-image {
    height: 450px;
}

.portfolio-image,
.modal-image {
    height: 400px;
}

.map-placeholder {
    height: 450px;
    width: 100%;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy-section {
    background-color: var(--white);
}

.link-arrow {
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    margin-top: 1rem;
}

.link-arrow:hover {
    color: var(--gray-medium);
    transform: translateX(5px);
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */
.featured-section {
    background-color: #fafafa;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.project-card:hover .project-image,
.project-card:hover .project-image img,
.team-card:hover .team-image,
.team-card:hover .team-image img,
.service-detail-image:hover,
.service-detail-image:hover img,
.portfolio-card:hover .portfolio-image,
.portfolio-card:hover .portfolio-image img,
.image-card:hover img,
.gallery-grid img:hover {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-light);
    margin-top: 1rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-category {
    font-size: 0.9rem;
    color: var(--gray-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services-overview {
    background-color: var(--white);
}

.service-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #00000033;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.service-card:hover {
    border-color: var(--black);
    transform: translateY(-10px) translateZ(10px) rotateX(1deg) rotateY(1deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background-color: #fafafa;
}

.testimonial-card {
    padding: 3rem;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.testimonial-card:hover {
    border-color: var(--black);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px) translateZ(10px) rotateX(1deg) rotateY(-1deg);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    letter-spacing: 0.1em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    color: var(--white);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--gray-dark);
    color: var(--white);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* =========================CHANGES BY LIZA========================== */

.footer-section {
    background-color: #000;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-section i {
    color: #ffffff;
}

.footer-section p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ============================================
   ABOUT PAGE - VALUES
   ============================================ */
.values-section {
    background-color: #fafafa;
}

.value-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    border-color: var(--black);
    transform: translateY(-5px) translateZ(6px) rotateX(1deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.value-number {
    font-size: 2.5rem;
    font-weight: 100;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--black);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.value-description {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE - TEAM
   ============================================ */
.team-section {
    background-color: var(--white);
}

.team-card {
    text-align: center;
    transition: var(--transition);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.team-card:hover {
    transform: translateY(-10px) translateZ(8px) rotateX(1deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem 0;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--gray-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   ABOUT PAGE - STATS
   ============================================ */
.stats-section {
    background-color: #fafafa;
}

.stat-card {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   PORTFOLIO PAGE - FILTER
   ============================================ */
.filter-section {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-light);
}

.filter-btn {
  border: none;
  background-color: #efefef;
  color: #000;
  border-radius: 40px;
  padding: 0.7rem 1.8rem;
  margin: 0.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #000;
  color: #fff;
}

/* ============================================
   PORTFOLIO PAGE - GRID
   ============================================ */
/* ============================================
   PORTFOLIO PAGE - REFINED GRID DESIGN
   ============================================= */

.portfolio-grid {
  background-color: #fdfdfd;
  padding: 4rem 0;
}

.portfolio-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: stretch;
  perspective: 1100px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.portfolio-card:hover {
  transform: translateY(-8px) translateZ(12px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* NEW: keeps all consistent */
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
  transform-origin: center center;
  will-change: transform;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

/* Sleek overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* Text inside overlay */
.portfolio-content {
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.portfolio-content h3 {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-inverse);
}

.portfolio-content p {
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.1em;
  margin: 0.5rem 0 1rem;
  color: var(--text-inverse);
}

.view-btn {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.view-btn:hover {
  background: #fff;
  color: #000;
}

/* Subtle grid spacing improvement */
.row.g-4 > [class*='col'] {
  display: flex;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .portfolio-image {
    aspect-ratio: 16 / 9;
  }
}


/* ============================================
   PROJECT DETAIL SECTION
   ============================================ */
.project-detail-section {
    background-color: var(--white);
    min-height: 100vh;
    padding-top: 100px;
}

.back-btn {
    background: none;
    border: 1px solid var(--black);
    color: var(--black);
    padding: 0.8rem 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background-color: var(--black);
    color: var(--white);
}

.back-btn span {
    font-size: 1.2rem;
    transition: var(--transition);
}

.back-btn:hover span {
    transform: translateX(-5px);
}

.detail-title {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 0.05em;
}

.detail-image {
    height: 300px;
    width: 100%;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background-color: #fafafa;
    border: 1px solid var(--gray-light);
}

.detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-info-item strong {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-medium);
}

.detail-info-item span {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--black);
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-top: 2rem;
}

.detail-description p {
    margin-bottom: 1.5rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal-content {
    background-color: #ffffff00;
    color: var(--white);
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.modal-body {
    padding: 2rem;
}

.project-details p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-details strong {
    color: var(--white);
    font-weight: 400;
}

.project-description {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-detail {
    background-color: var(--white);
}

.service-row {
    margin-bottom: var(--spacing-lg) !important;
}

.service-number {
    font-size: 5rem;
    font-weight: 100;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.service-detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--black);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    background-color: #fafafa;
}

.process-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    height: 100%;
}

.process-card:hover {
    border-color: var(--black);
    transform: translateY(-5px);
}

.process-step {
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: 0.1em;
    color: var(--black);
    margin-bottom: 1rem;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.process-description {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ============================================
   CONTACT PAGE - FORM
   ============================================ */
.contact-section {
    background-color: var(--white);
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #fafafa;
    border: 1px solid var(--gray-light);
    color: var(--black);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--black);
    background-color: var(--white);
}

.form-input::placeholder {
    color: var(--gray-medium);
}

/* ============================================
   CONTACT PAGE - INFO
   ============================================ */
.contact-info-card {
    padding: 1.3rem;
    background-color: #fafafa;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--black);
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-info-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-medium);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--gray-medium);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background-color: #fafafa;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--white);
    color: var(--black);
    font-weight: 300;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
    padding: 1.5rem 2rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--black);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 2rem;
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ============================================
   AOS (Animate On Scroll) FALLBACK
   ============================================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .nav-link {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    .service-number {
        font-size: 3.5rem;
    }
    
    .service-detail-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-custom {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }
    
    .service-card,
    .value-card,
    .process-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .project-image,
    .portfolio-image {
        height: 280px;
    }
    
    .philosophy-image,
    .about-image,
    .service-detail-image {
        height: 350px;
    }
}

@media (max-width: 575px) {
    :root {
        --spacing-lg: 3rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.5rem;
        margin: 0 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ===============================================NEW FONT CODE=========================================== */

/* ============================================
   LUXURY TYPOGRAPHY SYSTEM - Lato + Playfair
   ============================================ */

/* BASE FONT SIZES */
html {
    font-size: 16px; /* Base for luxury proportions */
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    overflow-x: hidden;
    background-color: #f9f9f9;

}

h1.hero-title.aos-animate {
    color: #ffffffe8;
    text-shadow: 0 0 12px #000000;
}

p.hero-subtitle.aos-animate {
    font-family: 'Lato';
    font-weight: bolder;
    color: white;
    text-shadow: 0 0 2px #000000;
}

/* H1 - LOGO & HERO (Playfair Bold Italic) */
h1, .logo-text, .hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* H2 - MAIN SECTION TITLES (Playfair Bold) */
h2, .section-title, .detail-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    position: relative;
}

h2::after, .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  border-radius: 2px;
}

/* H3 - SUBHEADINGS & CARDS (Lato Bold) */
h3, .portfolio-item h3, .card-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900; /* Extra Bold */
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: var(--black);
}

/* H4 - FEATURE TITLES (Playfair Medium Italic) */
h4, .gallery-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* BODY TEXT (Lato Regular) */
p, .detail-description, .lead-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #555;
}

p:last-child {
  margin-bottom: 0;
}

/* BUTTONS (Lato Bold Uppercase) */
.btn-custom, .filter-btn, .back-btn, .gallery-arrow, .modal-arrow, .close-modal {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* NAVIGATION (Lato Bold) */
.navbar .nav-link {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* DETAIL INFO (Lato Bold) */
.detail-info-item strong {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  color: #1a1a1a;
}

.detail-info-item span {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #666;
}

/* STATS COUNTERS (Lato Extra Bold) */
.stat-number {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
}

/* MODAL ELEMENTS */
.close-modal {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 2rem;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  h1, .hero-title { font-size: clamp(2.5rem, 7vw, 4rem); }
  h2, .section-title { font-size: clamp(2rem, 5vw, 2.8rem); }
  h3 { font-size: 1.6rem; }
  p, .detail-description { font-size: 1rem; line-height: 1.7; }
  
  .navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  h1, .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .stat-number { font-size: 2.8rem; }
}

/* UTILITY CLASSES */
.text-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.text-bold {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
}

.text-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.luxury-lead {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
}

.logo {
    height: auto;
    width: 25%;
    display: block;
}

@media (max-width: 991px) {
    .logo {
        width: 150px;
    }
}
