/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Disable hero animations when .no-hero-anim is on body */
body.no-hero-anim .hero h1,
body.no-hero-anim .hero p,
body.no-hero-anim .hero .contact-btn2,
body.no-hero-anim .hero .hero-clients-header,
body.no-hero-anim .hero .hero-clients {
    animation: none !important;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Montserrat', sans-serif;
}

.logo-img {
    height: 60px;
    filter: brightness(1.4);
}

.logo-text-img {
    height: 50px;
    filter: brightness(1.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: #e5d2b0;
    white-space: nowrap;
    padding: 0.8rem 0.6rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c69c6d, #e5d2b0, #c69c6d);
    background-size: 200% auto;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    animation: slideGradient 2s linear infinite;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f0e6d2;
}

@keyframes slideGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.contact-btn {
    background: linear-gradient(135deg, #c69c6d, #e8c28d);
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(198, 156, 109, 0.2);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 156, 109, 0.3);
    background: linear-gradient(135deg, #e1b97c, #f3d1a3);
}

.nav .contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav .contact-btn .fa-whatsapp {
  font-size: 1.3em;
  margin-right: 0.4em;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.6)), url("img/portfolio/IMG_0500_2.JPG") center/cover no-repeat;
    padding-top: 120px; /* Account for fixed header */
    padding-bottom: 60px; /* Ensure bottom spacing */
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-4px) rotate(0.5deg); }
    66% { transform: translateY(2px) rotate(-0.5deg); }
}

.hero-content {
    max-width: 1200px;
    z-index: 2;
    position: relative;
    padding: 0 2rem; /* Add horizontal padding for better spacing */
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size */
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e5d2b0 0%, #c69c6d 30%, #b8956a 60%, #d4c19b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    line-height: 1.1;
    filter: brightness(1.2) contrast(1.1);
    animation: fadeInUp 1s ease-out 0.3s both;
    word-wrap: break-word; /* Prevent text overflow */
    hyphens: auto; /* Enable hyphenation for long words */
    overflow-wrap: break-word; /* Modern property for word wrapping */
    word-break: keep-all; /* Prevent breaking words in the middle */
}

@keyframes dissolveIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.4rem); /* Responsive font size */
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.5s both;
    color: #e5d2b0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    max-width: 800px; /* Limit paragraph width for better readability */
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word; /* Prevent breaking words in the middle */
    word-break: keep-all; /* Keep words intact */
}

.contact-btn2 {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.7s both;
    box-shadow: 0 8px 25px rgba(198, 156, 109, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-btn2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-btn2:hover::before {
    left: 100%;
}

.contact-btn2:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(198, 156, 109, 0.4);
}

/* ===== CLIENT LOGOS SECTION ===== */
.hero-clients {
    margin-top: 3rem;
    animation: dissolveIn 1s ease-in-out 1.0s both;
}

.hero-clients-header {
    text-align: center;
    margin-bottom: 30px;
    color: #e5d2b0;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: dissolveIn 1s ease-in-out 0.8s both;
}

/* --- Hero Client Logos Marquee --- */
.hero-logo-container {
  position: relative;
  height: 120px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent 0%, white 15%, white 85%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, white 15%, white 85%, transparent 100%);
}

.hero-logo-track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 12px;
  animation: marquee 28s linear infinite;
  height: 100%;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-logo-item {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(198, 156, 109, 0.2);
  transition: all 0.3s ease;
}

.hero-logo-item:hover {
  background: rgba(198, 156, 109, 0.15);
  transform: translateY(-2px);
  border-color: rgba(198, 156, 109, 0.3);
}

.hero-logo-item img {
  max-height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero-logo-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-text img {
    width: 150%;
    height: 150%;
    object-fit: contain;
    display: block;
    max-width: 120%;
    max-height: 120%;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 2rem;
    background: #0a0a0a;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(198, 156, 109, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(198, 156, 109, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(198, 156, 109, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(198, 156, 109, 0.2);
    border-color: rgba(229, 210, 176, 0.4);
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e5d2b0;
}

.service-card p {
    opacity: 0.9;
    line-height: 1.6;
    color: #cccccc;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 4rem 2rem 6rem 2rem;
    background: #0a0a0a;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 70%, rgba(229, 210, 176, 0.06) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.9;
    color: #cccccc;
    text-align: center;
}

.about-image {
    height: 500px;
    text-align: center;
    position: relative;
}

/* ===== TEAM SECTION ===== */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.team-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.team-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.9;
    color: #cccccc;
    text-align: center;
}

.founder-image {
    height: 450px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    margin-top: -70px;
}

.founder-container {
    position: relative;
    width: 400px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Removed rotating elements */

.founder-img {
    width: 350px;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

/* Removed hover scale effect */

.founder-info {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.founder-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e5d2b0;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.founder-info p {
    font-size: 1rem;
    color: #cccccc;
    opacity: 0.8;
    margin: 0;
    white-space: nowrap;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 6rem 0;
    background: #111111;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(198, 156, 109, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    /* Remove fixed height and margin */
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.portfolio-content {
    padding: 0;
    margin: 0;
}

.photo-container, .video-container {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.portfolio-item img, .portfolio-item iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(198, 156, 109, 0.5);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(198, 156, 109, 0.3) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(198, 156, 109, 0.4) 100%
    );
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    padding: 0 1rem;
    line-height: 1.2;
}

.portfolio-item:hover .category-title {
    color: #c69c6d;
    transform: scale(1.1);
}

.powered-by {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    margin: 0.5rem 0 0 0;
    padding: 0 1rem;
    line-height: 1.2;
    opacity: 0.9;
}

.portfolio-item:hover .powered-by {
    color: #c69c6d;
    transform: scale(1.05);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(198, 156, 109, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 2rem;
    background: #111111;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(198, 156, 109, 0.05) 0%, transparent 50%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(198, 156, 109, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(198, 156, 109, 0.15);
    border-color: rgba(229, 210, 176, 0.4);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: bold;
}

.testimonial-info h4 {
    color: #e5d2b0;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    opacity: 0.9;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.star {
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: #cccccc;
    opacity: 0.9;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    opacity: 0.3;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: #0a0a0a;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(229, 210, 176, 0.06) 0%, transparent 50%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #cccccc;
    position: relative;
    z-index: 1;
}

.cta-btn {
    background: linear-gradient(135deg, #c69c6d, #e8c28d);
    color: #1a1a1a;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(198, 156, 109, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(198, 156, 109, 0.5);
    background: linear-gradient(135deg, #e1b97c, #f3d1a3);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 2rem;
    background: #0a0a0a;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Make contact form field labels stand out as headings */
.form-heading-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e5d2b0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

/* Style for form feedback messages */
.form-message {
    margin-top: 0.7em;
    font-size: 1rem;
    color: #c69c6d;
    font-weight: 600;
    letter-spacing: 1px;
    min-height: 1.2em;
    transition: color 0.2s;
}

/* Center message in contact form */
.contact-form .form-message {
    text-align: center;
    width: 100%;
    display: block;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-left h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #e5d2b0;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-left p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 50px;
}

.contact-detail-content h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e5d2b0;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contact-detail-content p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

.contact-right {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(198, 156, 109, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form-container h2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #e5d2b0;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #e5d2b0;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(198, 156, 109, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(198, 156, 109, 0.8);
    box-shadow: 0 0 0 2px rgba(198, 156, 109, 0.2);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(198, 156, 109, 0.3);
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    background: rgba(198, 156, 109, 0.1);
    border-color: rgba(198, 156, 109, 0.5);
}

.service-card.selected {
    background: linear-gradient(135deg, rgba(198, 156, 109, 0.2), rgba(229, 210, 176, 0.2));
    border-color: #c69c6d;
    box-shadow: 0 0 0 2px rgba(198, 156, 109, 0.3);
}

.service-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.service-card span {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
}

.service-card.selected span {
    color: #e5d2b0;
    font-weight: bold;
}

/* Hide mobile service select on desktop */
.mobile-service-select {
    display: none;
}

.submit-btn {
    background: linear-gradient(135deg, #c69c6d, #e8c28d);
    color: #1a1a1a;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin-top: 0.8rem;
    box-shadow: 0 6px 20px rgba(198, 156, 109, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #e1b97c, #f3d1a3);
    box-shadow: 0 8px 25px rgba(198, 156, 109, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: #000000;
    padding: 3rem 2rem 1rem;
    color: #ffffff;
    border-top: 1px solid rgba(198, 156, 109, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: #cccccc;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(198, 156, 109, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5d2b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(198, 156, 109, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: linear-gradient(135deg, #c69c6d, #e5d2b0);
    color: #1a1a1a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(198, 156, 109, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(198, 156, 109, 0.2);
    opacity: 0.8;
    color: #cccccc;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .nav-links {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
    .newsletter-form input {
        max-width: 250px;
        min-width: 120px;
        flex: unset;
    }
    .newsletter-form button {
        max-width: 100px;
        min-width: 60px;
        padding-left: 0.8em;
        padding-right: 0.8em;
    }

    .portfolio {
        padding: 3rem 0;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .portfolio-item {
        height: 200px;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-left h2 {
        font-size: 2.5rem;
    }
    
    .contact-right {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    .portfolio-item {
        height: 150px;
    }
    
    .about-image img {
        max-width: 60px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.social-links a {
    color: #e5d2b0;
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f7c791;
}

.contact-detail-content a {
    color: inherit;
    text-decoration: none;
}

.contact-detail-content a:hover {
    text-decoration: underline;
}

.service-link {
    display: block;
    width: 100%;
}

/* Remove or override the following to restore portfolio card sizes */
.service-link .service-card {
    min-height: unset;
    display: block;
    flex-direction: unset;
    align-items: unset;
    justify-content: unset;
}

.service-link, .service-link:visited, .service-link:hover, .service-link:active {
    text-decoration: none !important;
    color: inherit;
    outline: none;
}

/* Hide mobile nav and hamburger on desktop */
@media (min-width: 1201px) {
    .mobile-nav,
    .mobile-nav-overlay,
    .hamburger {
        display: none !important;
    }
} 

/* Portfolio page only: compact, media-only card styles */
.portfolio .portfolio-grid .portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(198, 156, 109, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.portfolio .portfolio-grid .portfolio-content {
    padding: 0;
    margin: 0;
}

.portfolio .portfolio-grid .photo-container, .portfolio .portfolio-grid .video-container {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.portfolio .portfolio-grid .portfolio-item img, .portfolio .portfolio-grid .portfolio-item iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

/* Restore original .service-card styles for Services section */
.services .service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(198, 156, 109, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
} 

/* Restore original portfolio-item size for index page OUR WORK grid */
#portfolio .portfolio-grid .portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 250px;
    border: 2px solid rgba(198, 156, 109, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

#portfolio .portfolio-grid .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

#portfolio .portfolio-grid .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(198, 156, 109, 0.5);
}

#portfolio .portfolio-grid .portfolio-item:hover img {
    transform: scale(1.05);
} 

/* Make portfolio-hero h1 match hero h1 */
.portfolio-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e5d2b0 0%, #c69c6d 30%, #b8956a 60%, #d4c19b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    line-height: 1.1;
    filter: brightness(1.2) contrast(1.1);
    /* animation: fadeInUp 1s ease-out 0.3s both; */
}

/* Make portfolio-hero p match hero p */
.portfolio-hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    /* animation: fadeInUp 1s ease-out 0.5s both; */
    color: #e5d2b0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
} 

/* Make filter buttons larger and text bigger */
.filter-btn {
    padding: 0.7rem 1.1rem;
    font-size: 1.05rem;
    border-radius: 24px;
    font-weight: 700;
    letter-spacing: 0.01em;
    height: 48px;
    min-width: 200px;
    max-width: 350px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrange filter buttons in two rows of five */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    max-width: 1750px;
    margin: 0 auto 2rem auto;
}
.category-filter .filter-btn {
    flex: 0 1 18.5%;
    min-width: 180px;
    max-width: 320px;
    margin-bottom: 0.5rem;
}

@media (max-width: 1200px) {
    .category-filter {
        max-width: 1000px;
    }
    .category-filter .filter-btn {
        flex: 0 1 48%;
        min-width: 150px;
        max-width: 260px;
        font-size: 0.95rem;
        padding: 0.6rem 0.7rem;
        height: 40px;
    }
}

@media (max-width: 900px) {
    .category-filter {
        max-width: 700px;
    }
    .category-filter .filter-btn {
        flex: 1 1 100%;
        min-width: 110px;
        max-width: 180px;
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
        height: 36px;
    }
} 

/* Team Section Desktop Layout */
@media (min-width: 1201px) {
  .team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 6rem;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }
  .team-section > .founder-image {
    grid-column: 1;
    grid-row: 1;
  }
  .team-section > .team-text {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
  }
  .team-section > .aryan-image {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  .team-section > .aryan-text {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    margin-left: 0;
  }
  .team-section > .founder-image,
  .team-section > .aryan-image {
    margin-bottom: 2.5rem;
  }
  .team-section > .team-text:first-child {
    align-self: start;
    justify-content: flex-start;
    min-height: unset;
    margin-bottom: 0.5rem;
  }
  .team-section > .founder-image {
    margin-top: 0;
  }
  .team-section > .founder-image {
    align-items: center !important;
  }
  .team-section > .aryan-image .founder-img {
    width: 310px;
    max-height: 400px;
  }
  .team-section > .aryan-image,
  .team-section > .aryan-text {
    margin-top: -50px;
  }
  .about {
    padding-bottom: 2rem !important;
  }
} 

.contact-btn2, .cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn2 .fa-whatsapp,
.cta-btn .fa-whatsapp {
  font-size: 1.3em;
  margin-right: 0.4em;
} 

.nav .contact-btn,
.contact-btn2,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: unset;
  max-width: unset;
  padding-left: 1.2em;
  padding-right: 1.2em;
  box-sizing: border-box;
} 

.mobile-nav .contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
} 

.footer .social-links .fa-whatsapp {
  font-size: 1.2em;
} 

@media (max-width: 600px) {
  .footer .social-links .fa-whatsapp {
    font-size: 1.2em;
  }
} 

/* Always keep newsletter-form horizontal */
.newsletter-form {
    display: flex;
    flex-direction: row !important;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
} 