/* ======== Corsac Studios - Modern Creative Theme (with Fixed Hero Image) ======== */
:root {
  --accent: #ff7a00;
  --accent-2: #ffb35c;
  --dark: #0d0d0d;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.85);
  --font-sans: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Global Reset */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  margin: 0;
  background: var(--dark);
  color: var(--muted);
  overflow-x: hidden;
}

/* ===== Navbar ===== */
.header-nav {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  z-index: 9999;
}



.header-nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 122, 0, 0.5)) brightness(1.15);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 122, 0, 0.7)) brightness(1.25);
}

.brand-text {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-sans);
}

.navbar .nav-link {
  color: #e0e0e0 !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--accent-2) !important;
}

.navbar .nav-link.active {
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("assets/img/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #0b0b0b;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 15px;
}

.hero-section h1 {
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.6px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
}

.hero-section h2 {
  color: var(--accent-2);
  font-weight: 600;
  margin-top: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
  margin: 1.2rem auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ===== Buttons ===== */
.btn-accent {
  background: linear-gradient(90deg, #ff7a00, #ffb35c);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 0 25px rgba(255, 122, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(255, 122, 0, 0.4);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
}

/* ===== Section Headings ===== */
section h3 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  position: relative;
}

section h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px auto;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
}

section p,
.text-muted {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 400;
  line-height: 1.6;
}

/* ===== OUR DIGITAL SERVICES ===== */
.services-section {
  background: #0d0d0d;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.services-section h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.services-section p.text-muted {
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.8rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  color: var(--white);
  height: 100%;
}

.service-card h5 {
  color: var(--white);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.2);
}

.btn-outline-accent {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-outline-accent:hover {
  background: linear-gradient(90deg, #ff7a00, #ffb35c);
  color: #fff;
  border: none;
  box-shadow: 0 0 18px rgba(255, 122, 0, 0.4);
}

/* ===== Team Section ===== */
.team-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover img {
  border-color: var(--accent);
}

#team .row.g-4 {
  justify-content: center;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(120deg, rgba(255, 122, 0, 0.15), rgba(255, 255, 255, 0.05));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 4rem 0;
  color: var(--white);
}

.cta-section h4 {
  font-weight: 600;
  color: var(--white);
}

/* ===== Footer ===== */
footer {
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 2.5rem 0;
}

footer a {
  color: var(--muted);
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent);
}

.footer-logo {
  height: 42px;
  margin-bottom: 10px;
}

/* ===== Animations ===== */
.section-enter {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.enter {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    background-attachment: scroll;
  }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-section h2 { font-size: 1.1rem; }
  .team-card img { width: 100px; height: 100px; }
  .brand-text { display: none; }
  .service-card { margin-bottom: 1rem; }
}

/* ===== Service Card Images ===== */
.service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover .service-img {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 122, 0, 0.25);
}

/* ===== Our Clients Section ===== */
.clients-section {
  background: #0d0d0d;
  color: #fff;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-section h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.client-logo-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.client-logo {
  max-width: 140px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-logo-wrapper:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.client-logo-wrapper:hover .client-logo {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .client-logo {
    max-width: 110px;
  }
}
footer {
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 122, 0, 0.4));
}

.map-container iframe {
  border: none;
  width: 300px;
  height: 80px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  /* Make map & location info perfectly centered on mobile */
  .footer-right {
    text-align: center;
    margin-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-left {
    text-align: center;
    width: 100%;
  }

  .footer-right h6,
  .footer-right p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .map-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .map-container iframe {
    width: 90%;
    max-width: 400px;
    height: 200px;
    border-radius: 10px;
  }
}

/* ===== Who We Are Section Styling ===== */
.about-img-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
}

.about-img {
  border-radius: 12px;
  transition: transform 0.5s ease, filter 0.5s ease;
  object-fit: cover;
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.15), rgba(0, 0, 0, 0.6));
  border-radius: 12px;
}

/* ===== Service Image Wrapper ===== */
.service-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.service-img {
  border-radius: 12px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-img-wrapper:hover .service-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,122,0,0.15), rgba(0,0,0,0.6));
  border-radius: 12px;
}

/* ===== Hero Section Image Fix ===== */
.service-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: auto;
}

.service-img {
  width: 100%;
  height: auto;
  object-fit: contain; /* prevents cropping */
  border-radius: 14px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-img-wrapper:hover .service-img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* ===== Footer Image Fix ===== */
.footer-side-image {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 14px;
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: block;
  margin: 0 auto;
}

.footer-side-image:hover {
  opacity: 1;
  transform: scale(1.02);
}

.footer-image-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,122,0,0.15), rgba(0,0,0,0.6));
  border-radius: 14px;
}


/* ===== Portfolio Section ===== */
.portfolio-hero {
  background: linear-gradient(180deg, #0b0b0b, #111);
  padding: 6rem 0 4rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition: all 0.4s ease;
}

.portfolio-card img,
.portfolio-card video {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  padding: 1rem;
  border-radius: 0 0 14px 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* Fix footer icon colors */
.footer-contact i {
  color: #ff7a00;
  text-shadow: 0 0 6px rgba(255, 122, 0, 0.5);
  margin-right: 8px;
  transition: 0.3s ease;
}

.footer-contact i:hover {
  color: #ffa94d;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.video-card video {
  width: 100%;
  height: auto;               
  aspect-ratio: 16 / 9;       
  object-fit: contain;        
  background-color: #000;   
  border-radius: 14px;
  display: block;
  margin: 0 auto;
}


.video-card video::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.5);
}


/* ===== Footer Contact & Icon Fix ===== */
.footer-contact p {
  color: #bdbdbd;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: #ff7a00; /* Orange accent color */
  font-size: 1.1rem;
  margin-right: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-contact p:hover i {
  color: #ffa94d; /* Slightly brighter orange on hover */
  transform: scale(1.1);
}

.footer-contact p:hover {
  color: #fff;
}

/* ===== Testimonials Page ===== */
.testimonial-hero {
  background: linear-gradient(180deg, #0b0b0b, #111);
}

.testimonial-card {
  background-color: #141414;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 122, 0, 0.25);
}

/* Custom smooth fade effect */
.carousel-item {
  opacity: 0;
  position: absolute;
  transition: opacity 1.5s ease;
  width: 100%;
}
.carousel-item.active {
  opacity: 1;
  position: relative;
}
.fade-in {
  animation: fadeIn 1.5s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Orange accent + progress bar */
.text-accent {
  color: #ff7a00;
}
.progress-bar-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: #ff7a00;
  border-radius: 2px;
  transition: width 5s linear;
}
.carousel-item.active .progress-bar-line {
  width: 100%;
}


/* === SUCCESS POPUP === */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.popup-box {
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 122, 0, 0.3);
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.4);
  border-radius: 16px;
  text-align: center;
  padding: 40px 60px;
  animation: popIn 0.4s ease;
}

.popup-box h3 {
  color: #fff;
  margin-top: 15px;
  font-weight: 600;
  font-size: 18px;
}

.checkmark {
  color: #ff7a00;
  font-size: 60px;
  animation: glow 1.4s ease-in-out infinite alternate;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes glow {
  from { text-shadow: 0 0 10px #ff7a00; }
  to { text-shadow: 0 0 20px #ffb366; }
}


/* ===== Smooth Client Slider Styling ===== */
.myClientsSwiper {
  padding-top: 20px;
  padding-bottom: 20px;
}

.myClientsSwiper .client-logo-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.myClientsSwiper .client-logo {
  max-width: 120px;
  max-height: 100px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.myClientsSwiper .client-logo-wrapper:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.myClientsSwiper .client-logo-wrapper:hover .client-logo {
  opacity: 1;
  transform: scale(1.05);
}





