/* 
* Softverses SEO Landing Page - Premium Dark Green & Black Theme 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #050505;
    --bg-dark-green: #0a1f0d;
    /* Deep forest green background */
    --bg-card: #0f0f0f;

    --text-color: #ffffff;
    --text-muted: #ffffff;

--accent-green: #e37af8;
    
    /* Keep a solid version for simple borders or shadows */
    --accent-dark: #a837bf;
    /* Darker green for borders/subtle touches */

    --border-color: #27272a;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --logo-gradient: linear-gradient(
            135deg, 
            var(--brand-pink) 0%, 
            var(--brand-purple-mid) 50%, 
            var(--brand-purple-dark) 100%
        );
}


.lead {
    color: rgb(139, 139, 139) !important;
}

.leadss{
    color: rgb(139, 139, 139) !important;


}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Mixed Background Variations */
.section-green-gradient {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-dark-green) 100%);
}

.section-dark {
    background-color: var(--bg-color);
}

/* --- Typography --- */
.display-1 {
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    /* Reduced from ~6rem to fit hero */
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--accent-green);
}

.text-green {
    color: var(--accent-green) !important;
}

/* --- Navbar --- */
.navbar {
    padding: 30px 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color) !important;
    letter-spacing: -0.02em;
}

.navbar-brand span {
    color: var(--accent-green);
}

.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    margin-left: 20px;
    position: relative;
}


@media (max-width:768px) {
    .navbar-nav{
        text-align: center;
        padding: 15px;
    }
    .nav-link {
    
    margin-left: 0px;
}

    .nav-item {
    
    padding: 4px;
}

section {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

    /* .tagline-second{
            color: rgb(139, 139, 139) !important;

    }
     */
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

/* --- Buttons --- */
.btn-primary {
    /* The Gradient Background */
    background: linear-gradient(135deg, #e056fd, #4b0082);
    
    /* Text Styling */
    color: #ffffff; /* White text for better contrast on purple */
    font-weight: 600;
    text-align: center;
    
    /* Button Shape & Sizing */
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;

    /* Animation */
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary:hover {
    background-color: #22c55e;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
}

/* --- Hero Section (Refined) --- */
.hero-section {
    height: 100vh;
    max-height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    padding-top: 180px;
    /* STRICT requirement from user */
    position: relative;
    overflow: hidden;
    /* Subtle Green Glow */
    background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.06) 0%, rgba(0, 0, 0, 0) 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    /* Center geographically */
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 600;

    /* Apply the Gradient to Text */
    background: linear-gradient(135deg, #e056fd, #4b0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Fallback for older browsers */
    color: #e056fd; 
}

/* --- Cards General --- */
.service-card,
.feature-card,
.industry-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    border: 1px solid var(--border-color);
    padding: 30px;
    height: 100%;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.service-card:hover,
.feature-card:hover,
.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-dark);
    box-shadow: 0 10px 30px -10px rgba(74, 222, 128, 0.1);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-dark);
    /* Dark Green Number */
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.feature-card h3 {
    color: rgb(230, 228, 228);
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* --- Portfolio Cards --- */
.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.portfolio-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
    /* filter: grayscale(100%); */
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
    filter: grayscale(100%);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    z-index: 2;
}

.portfolio-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-green);
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

/* --- Blog Cards --- */
.blog-card {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    transition: border-color 0.3s;
}

.blog-card:hover {
    border-color: var(--accent-green);
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: var(--accent-green);
}

/* --- Process Steps --- */
.process-step {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
    border-left: 1px solid var(--border-color);
}

.process-step::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 7px;
    height: 7px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
}

/* --- Icon Placeholders for Industry --- */
.industry-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.industry-card:hover {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
}

/* --- Accordion (FAQ) --- */
.accordion-button:not(.collapsed) {
    color: var(--accent-green);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

/* --- Utilities --- */
.text-balance {
    text-wrap: balance;
}

/*@media (max-width: 991px) {*/
/*    .hero-section {*/
/*        height: auto;*/
/*        min-height: 100vh;*/
        /* Ensure it takes full viewport but allows growing */
/*        padding-top: 120px;*/
/*        padding-bottom: 80px;*/
/*    }*/

/*    .display-1 {*/
/*        font-size: 3.5rem;*/
        /* Smaller for tablet/laptop */
/*    }*/
/*}*/



@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        /* Slightly more top padding since desc is gone */
        padding-bottom: 80px !important;
        /* SIGNIFICANTLY increased to ensure buttons have space */
        min-height: auto;
        height: auto !important;
        /* Force auto height */
        overflow: visible !important;
        /* Force overflow visible */
    }
}


@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px;
        /* Slightly more top padding since desc is gone */
        padding-bottom: 80px !important;
        /* SIGNIFICANTLY increased to ensure buttons have space */
        min-height: auto;
        height: auto !important;
        /* Force auto height */
        overflow: visible !important;
        /* Force overflow visible */
    }

    /* Allow it to be just content height if needed, or keeping 100dvh might be okay but auto is safer for overflow */
    .display-1 {
        font-size: 3.5rem;
        /* Increased from 2.5rem to be more punchy */
        margin-bottom: 25px;
        /* More space since desc is gone */
        line-height: 1.1;
    }

    .lead.subcontent {
        display: none !important;
        /* Hide description on mobile */
    }
        .tagline-second{
            color: rgb(139, 139, 139) !important;

    }

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }



    /* Stack buttons fully and ensure they have margin */
    .hero-content .d-flex {
        width: 100%;
        margin-top: 30px;
        /* Add breathing room after title */
        flex-direction: column;
        /* Explicitly set column direction */
        row-gap: 15px;
        /* Explicit gap between rows */
    }

    .hero-content .btn {
        width: 100%;
        display: block;
        padding: 16px;
        /* Bigger touch targets */
        margin: 0;
        /* Let gap handle spacing */
    }
}

/* --- Floating Contact Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    z-index: 1000;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-decoration: none;
    /* Continuous floating animation */
    animation: float-shake 3s ease-in-out infinite;
}

/* Add specific delays so they don't move in unison */
.btn-whatsapp {
    background-color: #25D366;
    animation-delay: 0s;
}

.btn-phone {
    background-color: #1a1a1a;
    border: 1px solid var(--border-color);
    animation-delay: 0.2s;
}

.btn-enquiry {
    background-color: var(--accent-dark);
    color: #ffffff;
    animation-delay: 0.4s;
}

/* ... existing hover styles ... */

.btn-float:hover {
    transform: scale(1.1);
    /* This might fight with animation, but usually transform is additive or CSS preference matters. 
                            Actually, hover transform will override animation transform if not handled carefully.
                            Ideally, we apply animation to a wrapper or use a specific technique, 
                            BUT for simple shaking, pausing on hover is often best. */
    animation-play-state: paused;
    color: #fff;
}

/* ... rest of styles ... */

@keyframes float-shake {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(2deg);
    }
}


.btn-enquiry:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 119, 239, 0.4);
    color: var(--accent-dark);
}

/* Ensure icons are centered visually */
.btn-float i {
    pointer-events: none;
}













/* Close button - make it white for dark modal */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 576px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .btn-float {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
} 
















.modal-dark {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.modal-dark .modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-dark .form-control {
    background-color: #050505;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px;
}

.modal-dark .form-control:focus {
    background-color: #050505;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
    color: var(--text-color);
}

.modal-dark .form-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}









/* --- Modal & Layout Sizing --- */
.modal-dialog {
    max-width: 950px; 
    margin: 1.75rem auto;
}

/* --- Global Theme & Container --- */
.contact-container {
    min-height: 100vh;
    padding: 80px 0;
    background-color: #0f0f0f; 
}

/* --- Header Section --- */
.contact-header {
    text-align: left;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    color: #ffffff !important;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* --- THE FORM PANEL --- */
.form-panel {
    background: #161616; 
    border: 1px solid #27272a; 
    border-radius: 20px;
    padding: 60px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.form-step h4 {
    font-size: 2.25rem;
    font-weight: 500;
   
    margin-bottom: 40px; /* Space before the first field */
    line-height: 1.2;

    /* Apply the Gradient to Text */
    /* background: linear-gradient(135deg, #e056fd, #4b0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    
    /* Fallback for older browsers */
    color: #ffffff; 
}

/* --- FIX: Spacing Between Groups --- */
.form-group {
    margin-bottom: 35px; /* Increased gap between rows */
}

.form-label {
    font-weight: 500;
    color: #a1a1aa; /* Zinc-400 */
    margin-bottom: 12px; /* Gap between label and its own input */
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Input Fields & Selects --- */
.form-control, .form-select {
    background-color: #0f0f0f; 
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 1.05rem;
    color: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
}

.form-control:focus, .form-select:focus {
    background-color: #050505;
    border-color: #ffffff; 
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
    outline: none;
}

/* --- Navigation & Buttons --- */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #27272a;
}

.btn-next, .btn-submit {
    background: #ffffff;
    color: #000000;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid #ffffff;
    transition: all 0.2s ease;
}

.btn-next:hover, .btn-submit:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-prev {
    background: transparent;
    color: #71717a;
    padding: 14px 28px;
    font-weight: 500;
    border: none;
}

/* --- Modal Overrides --- */
.modal-dark {
    background-color: #161616;
    border: 1px solid #27272a;
    border-radius: 24px;
}

.modal-dark .modal-header {
    border-bottom: none !important;
    padding: 40px 60px 10px 60px;
}

.modal-dark .modal-body {
    padding: 0 60px 60px 60px;
}

/* --- Utilities --- */
.required {
    color: #ef4444;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .modal-dialog { max-width: 95%; }
    .form-panel { padding: 40px 30px; }
    .modal-dark .modal-header, .modal-dark .modal-body { padding-left: 30px; padding-right: 30px; }
}





















 .grecaptcha-badge {
    visibility: hidden !important;
}









.card-img-top {
    width: 100%;      /* Forces image to touch both sides */
    height: auto;     /* Allows height to grow/shrink based on the image shape */
    display: block;
    object-fit: inherit; /* No special fitting needed if height is auto */
}

/* Remove any fixed height from the image wrapper if you have one */
.position-relative {
    height: auto !important;
}


.service-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Exactly 2 lines */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Optional: Ensure the line-height is consistent */
    line-height: 1.5em; 
    height: 3em; /* This reserves space for 2 lines even if there is only 1 */
}


