/* --- Core Design System --- */
:root {
    --primary-red: #E03A3E;
    --dark-bg: #000000;
    --off-dark-bg: #121212;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --border-color: #2a2a2c;
    --section-padding: clamp(5rem, 10vw, 8rem);
}

/* --- General & Body Styling --- */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 800; }
p { margin: 0; line-height: 1.6; color: var(--text-secondary); }
.subheading { font-size: clamp(1rem, 3vw, 1.25rem); max-width: 60ch; margin: 1rem auto 0 auto; }
section { padding: var(--section-padding) 40px; }
.container { max-width: 1080px; margin: 0 auto; text-align: center; }

/* --- Buttons --- */
.cta-button {
    display: inline-block; background-color: var(--primary-red); color: white; border-radius: 50px;
    padding: 16px 32px; font-size: 1rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.05);
    background-color: #d12c30;
    box-shadow: 0 5px 20px rgba(224, 58, 62, 0.25);
}
.cta-button:disabled { background-color: #555; cursor: not-allowed; transform: none; box-shadow: none; }

.secondary-button {
    display: inline-block; background: none; color: var(--text-primary); border-radius: 50px; border: 1px solid var(--border-color);
    padding: 16px 32px; font-size: 1rem; font-weight: 600; text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.secondary-button:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: #777;
    transform: translateY(-2px);
}
.button-group { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;}

/* --- Header & Hero --- */
#sticky-header {
    position: fixed; top: 0; left: 0; width: 100%; box-sizing: border-box; padding: 1rem 40px; z-index: 1000;
    background-color: rgba(22, 22, 23, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(50, 50, 50, 0.5); display: flex; justify-content: space-between; align-items: center;
    transform: translateY(-100%); transition: transform 0.4s ease-in-out;
}
#sticky-header.is-sticky { transform: translateY(0); }
.header-logo-link { display: flex; align-items: center; text-decoration: none; }
.header-logo-img { height: 28px; width: 28px; margin-right: 10px; }
#sticky-header .logo { color: var(--text-primary); font-size: 1.2rem; font-weight: 800; transition: color 0.3s ease; }
.header-logo-link:hover .logo { color: var(--primary-red); }
#sticky-header .header-cta { padding: 10px 24px; font-size: 0.9rem;}

.hero-section {
    min-height: 100vh; display: flex; align-items: center; box-sizing: border-box;
    position: relative; overflow: hidden;
    background: linear-gradient(-45deg, #000000, #110505, #1a1a1c, #0d0d0d);
    background-size: 400% 400%;
    animation: animateGradient 20s ease infinite;
}
@keyframes animateGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section .tagline { display: block; font-weight: 600; color: var(--primary-red); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.hero-section h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.04em; }
.hero-section .subheading { margin-top: 1.5rem; max-width: 55ch;}

.hero-marquee {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background-color: rgba(0,0,0,0.2); border-top: 1px solid var(--border-color);
    padding: 1rem 0; white-space: nowrap;
}
.marquee-track { display: inline-block; animation: scroll 40s linear infinite; }
.marquee-track span { font-size: 1.2rem; font-weight: 600; color: var(--text-secondary); margin: 0 1.5rem; }
@keyframes scroll {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

/* --- Features Section ("Why Choose Us?") --- */
.features-section { background-color: var(--off-dark-bg); }
.features-section h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; text-align: left; margin-top: 4rem; }
.feature-card {
    background: #1B1B1B; border: 1px solid var(--border-color);
    padding: 2.5rem 2rem; border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--primary-red); }
.feature-icon { margin-bottom: 1.5rem; width: 40px; height: 40px; color: var(--primary-red); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* --- Services Section --- */
.services-section h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.03em; max-width: 800px; margin: 0 auto;}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; text-align: left; margin-top: 4rem; }

/* --- Testimonial Section --- */
.testimonial-section { background-color: var(--off-dark-bg); }
.testimonial-card { max-width: 800px; margin: 0 auto; text-align: center; transition: transform 0.3s ease; }
.testimonial-card:hover { transform: scale(1.02); }
.testimonial-quote { font-size: clamp(1.2rem, 3vw, 1.75rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 2rem; }
.testimonial-author { display: inline-flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; }
.author-info { text-align: left; }
.author-info p { color: var(--text-primary); font-weight: 600; }
.author-info span { font-size: 0.9rem; color: var(--text-secondary); }

/* --- Contact & Form Section --- */
#contact { background-color: var(--off-dark-bg); }
.contact-container { text-align: center; }
.contact-container h2 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.03em; margin: 0 auto 1rem auto; } 
.contact-form { max-width: 650px; margin: 3rem auto 0 auto; display: grid; gap: 1.5rem; text-align: left; }
.form-group input, .form-group textarea { width: 100%; padding: 16px; font-size: 1rem;         font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #1C1C1E; color: var(--text-primary); border-radius: 12px; border: 1px solid var(--border-color); box-sizing: border-box; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(224, 58, 62, 0.3); }
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem;}
#form-error-message { color: #ff8a8a; background-color: rgba(224, 58, 62, 0.1); border: 1px solid var(--primary-red); padding: 1rem; border-radius: 8px; margin-top: 1rem; display: none;}
#form-success-message { text-align: center; padding: 3rem; background-color: #1a1a1a; border-radius: 12px; border: 1px solid var(--border-color); }
#form-success-message h3 { font-size: 1.5rem; margin-bottom: 0.5rem;}
#form-success-message p { max-width: 45ch; margin: 0 auto; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; vertical-align: middle; margin-left: 0.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-container .support-text a { color: var(--text-primary); text-decoration: none; position: relative; }
.contact-container .support-text a::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 1px; bottom: -2px; left: 0; background-color: var(--primary-red); transform-origin: bottom right; transition: transform 0.25s ease-out; }
.contact-container .support-text a:hover::after { transform: scaleX(1); transform-origin: bottom left; }

#thank-you-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; display: flex; justify-content: center; align-items: center; background-color: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s 0.4s; }
#thank-you-popup.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.popup-content { background-color: var(--off-dark-bg); padding: 3rem 4rem; border-radius: 20px; text-align: center; border: 1px solid var(--border-color); }
.popup-content h3 { font-size: 2rem; }
.popup-content p { color: var(--text-primary); margin-top: 0.5rem; }

/* --- Footer --- */
footer { padding: 3rem 40px; border-top: 1px solid var(--border-color); text-align: center; color: var(--text-secondary);}
.footer-container { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;}
.footer-links { display: flex; gap: 2rem; }
.footer-links a { text-decoration: none; color: var(--text-secondary); transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }

/* --- Animations & Responsiveness --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1); }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.fade-in-delay { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
@media (max-width: 768px) {
    section { padding: var(--section-padding) 20px; }
    .button-group { flex-direction: column; width: 100%; align-items: stretch;}
    footer, .footer-container { flex-direction: column; gap: 1.5rem; }
    #sticky-header { padding: 1rem 20px; }
}

/*Social Widget*/

/* style.css */

.social-widget {
    position: fixed;
    top: 50%;
    right: 10px; /* Added some space from the edge */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000; /* Ensures it stays on top of other content */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 8px 0; /* Increased margin for better spacing */
    
    /* Glassmorphism Properties */
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* The blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari browser support */
    border-radius: 15px; /* Softer, more rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border to catch the light */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */

    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.4); /* Lighten background on hover */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* Optional: Keep brand colors on hover for a vibrant effect */
.social-icon.facebook:hover {
    background: rgba(59, 89, 152, 0.7);
}

.social-icon.twitter:hover {
    background: rgba(29, 161, 242, 0.7);
}

.social-icon.instagram:hover {
    background: rgba(225, 48, 108, 0.7);
}

.social-icon.linkedin:hover {
    background: rgba(0, 119, 181, 0.7);
}

.social-icon.youtube:hover {
    background: rgba(255, 0, 0, 0.7);
}
