/* ============================================
   LUXURY BLACK & GOLD STYLESHEET
   Divplanet Technologies - Premium Edition
   ============================================ */

/* === REMOVE OR COMMENT OUT THESE SECTIONS FROM YOUR OLD CSS ===
   
   1. Remove all @font-face declarations (incised_901 fonts)
   2. Remove the old body font-family rule
   3. Remove old span { color: #ff0000; } 
   4. Remove old .background-img styles
   5. Remove old .btn-primary, .card-header styles
   6. Remove old .bg-white transition styles
   7. Remove old navigation related styles (if any)
   
   === KEEP THESE SECTIONS ===
   
   - Box-sizing rule
   - About section styles (we'll update them)
   - Service section card styles (we'll enhance them)
   - Timeline styles
   - Testimonial styles
   - Works done section
   - CTA section
   - Newsletter section
   - Footer styles
   - Accordion styles
   
   ============================================ */

/* === CORE RESETS & VARIABLES === */
* {
  box-sizing: border-box;
}

:root {
  --gold: #d4af37;
  --gold-dark: #b8941f;
  --gold-light: #f4e4a6;
  --black: #000000;
  --off-black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --light-gray: #cccccc;
  --white: #ffffff;
}

/* === TYPOGRAPHY === */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", serif;
  font-weight: 700;
  color: var(--white);
}

span {
  color: var(--gold);
  font-family: "Poppins", serif;
}

p,
li,
a,
blockquote {
  font-family: "Poppins", sans-serif;
}

/* === BUTTONS === */
.btn-primary {
  background: var(--gold) !important;
  border: none !important;
  color: var(--black) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 35px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: -5px 5px 0 rgba(212, 175, 55, 0.3);
  color: var(--black) !important;
}

.btn-primary:hover::before {
  left: 100%;
}

/* === CARD HEADERS === */
.card-header {
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--gold-dark) 100%
  ) !important;
  color: var(--black) !important;
  font-weight: 700;
  border: none !important;
}

/* === HERO BACKGROUND === */
.background-img {
  background-position: center;
  background-size: cover;
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url(../img/bg4.avif);
  position: relative;
}

/* === UTILITY CLASSES === */
.round {
  height: 140px;
  width: 140px;
  border-radius: 50%;
  margin: auto;
  border: 3px solid var(--gold);
}

.red,
.gold {
  color: var(--gold) !important;
}

/* === ABOUT SECTION - ENHANCED === */
.about-section {
  position: relative;
  padding: 120px 0 70px;
  background: var(--off-black);
}

.sec-title {
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

.sec-title .title {
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 24px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.sec-title h2 {
  position: relative;
  display: block;
  font-size: 40px;
  line-height: 1.28em;
  color: var(--white);
  font-weight: 700;
  padding-bottom: 18px;
  font-family: "Poppins", serif;
}

.sec-title h2:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.sec-title .text {
  position: relative;
  font-size: 16px;
  line-height: 26px;
  color: var(--light-gray);
  font-weight: 400;
  margin-top: 35px;
}

.sec-title.text-center h2:before {
  left: 50%;
  margin-left: -30px;
}

.about-section .content-column {
  position: relative;
  margin-bottom: 50px;
}

.about-section .content-column .inner-colu {
  position: relative;
  padding-left: 30px;
}

.about-section .text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 26px;
  color: var(--light-gray);
  font-weight: 400;
}

.about-section .image-colu .inner-colu {
  position: relative;
  padding-left: 80px;
  padding-bottom: 0;
}

.about-section .image-colu .inner-colu::before {
  content: "";
  position: absolute;
  width: calc(50% + 80px);
  height: calc(100% + 160px);
  top: -80px;
  left: -3px;
  background: transparent;
  z-index: 0;
  border: 44px solid var(--gold);
  clip-path: polygon(
    0 0,
    calc(100% - 60px) 0,
    100% 60px,
    100% 100%,
    60px 100%,
    0 calc(100% - 60px)
  );
}

.about-section .image-colu .author-desc {
  position: absolute;
  bottom: 16px;
  z-index: 1;
  background: var(--gold);
  padding: 15px 20px;
  left: 115px;
  width: calc(100% - 152px);
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

.about-section .image-colu .author-desc h2 {
  font-size: 1em;
  letter-spacing: 1px;
  text-align: center;
  color: var(--black);
  margin: 0;
  font-family: "Poppins", serif;
}

.about-section .image-colu .author-desc span {
  font-size: 0.8em;
  letter-spacing: 1px;
  text-align: center;
  color: var(--black);
  display: block;
  font-weight: 600;
}

.about-section .image-colu .image-1 img,
.about-section .image-colu .image-2 img {
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
  clip-path: polygon(
    0 0,
    calc(100% - 46px) 0,
    100% 46px,
    100% 100%,
    46px 100%,
    0 calc(100% - 46px)
  );
  border: 2px solid rgba(212, 175, 55, 0.2);
}

/* === SERVICE CARDS - ENHANCED === */
.servicebg {
  background: var(--black);
}

.card {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 0;
  background: var(--dark-gray);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  clip-path: polygon(
    0 0,
    calc(100% - 25px) 0,
    100% 25px,
    100% 100%,
    25px 100%,
    0 calc(100% - 25px)
  );
}

.card::after {
  display: none;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

a.card {
  text-decoration: none;
  color: inherit;
}

.card-body {
  padding: 2rem;
}

.card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  font-family: "Poppins", serif;
  margin-bottom: 1rem;
}

.card-text {
  padding-top: 12px;
  color: var(--light-gray);
  line-height: 1.7;
}

.blue {
  color: var(--gold) !important;
}

.head-icon {
  margin-top: 18px;
  color: var(--gold);
}

.box-shadow {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* === TESTIMONIALS - ENHANCED === */
figure.snip1390 {
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: var(--white);
  text-align: center;
  font-size: 16px;
  background: var(--dark-gray);
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-sizing: border-box;
  clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    30px 100%,
    0 calc(100% - 30px)
  );
  transition: all 0.4s ease;
}

figure.snip1390:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-5px);
}

figure.snip1390 h2 {
  color: var(--white);
  font-family: "Poppins", serif;
}

figure.snip1390 h4 {
  color: var(--gold);
  font-weight: 600;
}

figure.snip1390 blockquote {
  font-size: 1em;
  padding: 45px 20px 40px 50px;
  margin-top: 30px;
  background: var(--off-black);
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  position: relative;
  color: var(--light-gray);
}

figure.snip1390 blockquote:before {
  content: "\201C";
  position: absolute;
  font-size: 70px;
  opacity: 0.15;
  font-style: normal;
  top: 0;
  left: 20px;
  color: var(--gold);
}

figure.snip1390 .profile {
  width: 100px;
  border-radius: 0;
  display: inline-block;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  border: 3px solid var(--gold);
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
}

/* === CTA SECTION - ENHANCED === */
.cta {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("../img/building.jpg") fixed center center;
  background-size: cover;
  padding: 120px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.cta h3 {
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  font-family: "Poppins", serif;
}

.cta p {
  color: var(--light-gray);
}

.cta .cta-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  transition: 0.4s;
  margin: 10px;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  text-transform: uppercase;
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
}

.cta .cta-btn:hover {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

/* === NEWSLETTER - ENHANCED === */
.newsletter {
  position: relative;
  bottom: 100px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--dark-gray), var(--off-black));
  border: 2px solid rgba(212, 175, 55, 0.2);
  clip-path: polygon(
    0 0,
    calc(100% - 40px) 0,
    100% 40px,
    100% 100%,
    40px 100%,
    0 calc(100% - 40px)
  );
  padding: 3rem;
}

.newsletter h2 {
  color: var(--white);
  font-family: "Poppins", serif;
}

.newsletter p,
footer li,
footer h4,
footer pre {
  color: var(--light-gray);
}

footer h4 {
  font-family: "Poppins", serif;
  color: var(--gold);
}

/* === FORM INPUTS - ENHANCED === */
.form-rounded,
.form-control {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--white);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* === TIMELINE - ENHANCED === */
.timelinet::after {
  background: var(--gold);
}

.containert::after {
  background: var(--black);
  border: 4px solid var(--gold);
}

.contentt {
  background: var(--dark-gray);
  color: var(--light-gray);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.contentt h2 {
  color: var(--white);
  font-family: "Poppins", serif;
}

/* === WORKS SECTION - ENHANCED === */
.containerr:hover .imagee {
  opacity: 0.3;
  filter: grayscale(100%);
}

.ctext {
  background: var(--gold);
  color: var(--black);
  font-size: 16px;
  padding: 16px 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === ACCORDION - ENHANCED === */
.accordion {
  background: var(--dark-gray);
  color: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-weight: 600;
}

.active1,
.accordion:hover {
  background: var(--off-black);
  border-color: var(--gold);
}

.accordion:after {
  color: var(--gold);
}

.panel {
  background: var(--off-black);
  color: var(--light-gray);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .sec-title h2 {
    font-size: 32px;
  }

  .about-section .image-colu .inner-colu::before {
    border-width: 30px;
  }

  .cta h3 {
    font-size: 24px;
  }
}
