/* 
   PROSPEROUS CAPITAL LANDING PAGE STYLESHEET
   Brand Colors: Red (#D71920), Black (#111111), Light Gray (#F6F7F9), White (#FFFFFF)
   Design Style: Premium, Luxury, Modern, Apple-level Spacing
*/

/* --- Design Tokens & Variables --- */
:root {
    --primary-red: #D71920;
    --primary-red-hover: #b31218;
    --primary-red-light: rgba(215, 25, 32, 0.1);
    --bg-dark-charcoal: #111111;
    --bg-dark-card: #18181A;
    --bg-light-gray: #F6F7F9;
    --border-color: #E5E7EB;
    --text-dark: #111111;
    --text-muted: #6B7280;
    --text-light: #F3F4F6;
    
    --font-heading: 'Tajawal', sans-serif;
    --font-body: 'Cairo', sans-serif;
    
    --card-radius: 16px;
    --button-radius: 8px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --glass-background: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* --- Base & Reset Rules --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: #FFFFFF;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Selection & Scrollbar Styling --- */
::selection {
    background-color: var(--primary-red);
    color: #FFFFFF;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #C4B5FD;
    background: rgba(17, 17, 17, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-red);
}

.subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    position: relative;
    padding-right: 18px;
}

.subtitle::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 5px;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--button-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(215, 25, 32, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--bg-dark-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: var(--glass-background);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-area {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-logo {
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
    opacity: 0.85;
    position: relative;
    padding: 6px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary-red);
}

.navbar.scrolled .nav-links a.active {
    color: var(--primary-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
}

.navbar.scrolled .nav-phone {
    color: var(--text-dark);
}

.nav-phone i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.navbar.scrolled .mobile-nav-toggle span {
    background-color: var(--text-dark);
}

/* --- Mobile Navigation Drawer --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.drawer-logo {
    height: 48px;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.drawer-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.drawer-links a:hover {
    color: var(--primary-red);
    padding-right: 8px;
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 12px;
    background-color: var(--bg-light-gray);
    border-radius: var(--button-radius);
}

.drawer-phone i {
    color: var(--primary-red);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomOutBg 10s ease-out forwards;
}

@keyframes zoomOutBg {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Dark premium black overlay gradient for high-end look */
    background: linear-gradient(to left, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.6) 50%, rgba(17, 17, 17, 0) 100%);
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 700px;
    margin-right: 0; /* Align right side of container for RTL */
    margin-left: auto; /* Push left margin to align right */
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 12px;
    display: block;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.15rem;
    color: #E5E7EB;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.hero-actions .btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--bg-dark-charcoal);
    border-color: #FFFFFF;
}

/* --- Features Section --- */
.features-section {
    position: relative;
    margin-top: -80px; /* Overlap into the hero section */
    z-index: 10;
    padding-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1-fraction);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #FFFFFF;
    border-radius: var(--card-radius);
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--primary-red-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-red);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-red);
    color: #FFFFFF;
}

.feature-icon {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Services Section --- */
.services-section {
    background-color: var(--bg-light-gray);
    padding: 100px 0;
}

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

.service-card {
    background-color: #FFFFFF;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-body h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.service-link i {
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link i {
    transform: translateX(-5px);
}

/* --- About Company Section --- */
.about-section {
    padding: 120px 0;
    background-color: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-img {
    border-radius: var(--card-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-deco-border {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 8px solid var(--primary-red-light);
    border-radius: var(--card-radius);
    z-index: 1;
}

.about-content {
    padding-right: 10px;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.about-list {
    margin-bottom: 40px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-list li i {
    color: var(--primary-red);
    font-size: 1.25rem;
}

.btn-about {
    margin-top: 10px;
}

/* --- Statistics Section --- */
.stats-section {
    background-color: var(--primary-red);
    color: #FFFFFF;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.stats-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stats-info h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.stats-info span {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    display: block;
}

/* --- Categories Section --- */
.categories-section {
    padding: 120px 0;
    background-color: var(--bg-light-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category-card {
    background-color: #FFFFFF;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 280px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.cat-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.category-card:hover .cat-img-wrapper img {
    transform: scale(1.08);
}

.cat-info {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: #FFFFFF;
}

.cat-info h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.cat-btn {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.cat-btn i {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.category-card:hover .cat-btn i {
    transform: translateX(-4px);
}

.categories-actions {
    margin-top: 40px;
}

/* --- Brands Section --- */
.brands-section {
    background-color: #FFFFFF;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.brands-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
    margin-top: 40px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    cursor: default;
}

.brand-svg {
    width: 72px; /* Large, clear high-end sizing */
    height: 48px; /* Standard brand logo bounding aspect ratio */
    object-fit: contain;
    /* Clean dark gray styling using CSS filters to work with img tag SVGs */
    filter: brightness(0) saturate(100%) invert(30%) sepia(5%) saturate(200%) hue-rotate(200deg);
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.brand-item:hover .brand-svg {
    opacity: 1;
    /* Deep black logo on hover */
    filter: brightness(0) saturate(100%) invert(0%);
    transform: translateY(-4px) scale(1.05);
}

.brand-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 4px;
    transition: var(--transition-smooth);
}

.brand-item:hover span {
    color: var(--text-dark);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 120px 0;
    background-color: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light-gray);
    border-radius: var(--card-radius);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.01);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    background-color: #FFFFFF;
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.stars {
    display: flex;
    gap: 4px;
    color: #FBBF24;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
}

.user-details h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.user-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Contact CTA Banner --- */
.contact-cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('assets/hero-bg.jpg'); /* Re-using background for depth */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.85);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.contact-cta-section h2 {
    font-size: 2.6rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-cta-section p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Contact Section / Form --- */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red-light);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.method-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.method-text a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.method-text a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background-color: #FFFFFF;
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.social-links a:hover {
    background-color: var(--primary-red);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: #FFFFFF;
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-right: 4px solid var(--primary-red);
    padding-right: 12px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--button-radius);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light-gray);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.15);
}

.form-status {
    margin-top: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    color: #059669;
}

.form-status.error {
    color: var(--primary-red);
}

/* --- Footer Section --- */
.footer {
    background-color: var(--bg-dark-charcoal);
    color: var(--text-light);
    padding: 80px 0 0;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1); /* Logo matches dark theme context */
}

.footer-brand-desc {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.footer-socials a:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-right: 6px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-contact-info i {
    color: var(--primary-red);
    margin-top: 4px;
}

.footer-contact-info a {
    color: #9CA3AF;
}

.footer-contact-info a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-bottom .credit a {
    color: #FFFFFF;
    font-weight: 700;
}

.footer-bottom .credit a:hover {
    color: var(--primary-red);
}

/* --- Scroll Animations (Classes applied via JS) --- */
.reveal-up,
.reveal-left,
.reveal-right,
.fade-in {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.fade-in.active {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .contact-grid {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .nav-phone {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    
    .footer-col.brand-col {
        grid-column: span 3;
    }
    
    .footer-brand-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-col.brand-col {
        grid-column: span 2;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-section {
        margin-top: -40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col.brand-col {
        grid-column: span 1;
    }
}
