/*
Theme Name: VYZN Theme
Theme URI: http://example.com/vyzn-theme-uri/
Author: Rahat Yasmin
Author URI: http://example.com/
Description: A custom theme converted from an HTML template.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vyzn-theme
Tags: custom-layout, dark-mode, bootstrap, one-column
*/


/* --- Variables and Base Styles --- */
@font-face {
    font-family: "Whitney";
    src: url("fonts/WhitneySSmBook.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Canela";
    src: url("fonts/Canela-Light-Trial.otf") format("opentype");
    font-weight: 300; 
    font-style: normal;
}
:root {
    --vyzn-dark: #0A0A0A; /* Very dark background */
    --vyzn-accent: #00FFC2; /* Bright cyan/green accent */
    --vyzn-text: #F0F0F0; /* Light text */
    --vyzn-gradient: linear-gradient(90deg, #00FFC2 0%, #00C2FF 100%); /* Gradient for visual pop */
    --font-family-headings: 'Canela', 'Times New Roman', serif;
    --font-family-body: 'Whitney', 'Times New Roman', serif;
    --card-dark-bg: #1A1A1A; /* Background for dark cards */
    --card-light-bg: #F0F0F0; /* Background for light cards */
    --card-light-text: #0A0A0A; /* Text for light cards */
    /* New: Metallic Silver for headings */
    --metallic-silver-gradient: linear-gradient(135deg, #f0f0f0 0%, #b0b0b0 25%, #f0f0f0 50%, #b0b0b0 75%, #f0f0f0 100%);
    --metallic-silver-shadow: rgba(255, 255, 255, 0.2) 0px 0px 5px, rgba(0, 0, 0, 0.4) 1px 1px 3px;
}

body {
    background-image: url('images/background1.jpg'); /* Your provided image */
    background-size: cover; /* Cover the entire viewport */
    background-attachment: fixed; /* Keep background fixed while scrolling */
    background-position: center;
    background-color: #000; /* Fallback in case image fails to load */
    color: var(--vyzn-text);
    font-family: var(--font-family-body); /* Apply Inter to all body text */
}
body {
    font-family: 'Whitney', 'Times New Roman', serif;
}
.overlay {
    background: #00000063;
}
/* Apply Oswald to all headings and the metallic effect */
h1, h2, h3, .vyzn-logo {
    font-family: var(--font-family-headings);
    color: #fff; /* Fallback for browsers not supporting -webkit-background-clip */
}
p.form-row {
    text-align: justify !important;
}
h1, h2, h3, h4 {
    font-family: 'Canela', 'Times New Roman', serif;
}

h3.display-5.fw-bold.feature-card-title.text-start.black {
    -webkit-text-fill-color: #000000;
}
/* --- Navigation Bar Styling --- */
.custom-navbar {
    background-color: rgba(10, 10, 10, 0.9); /* More opaque for contrast against textured background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.vyzn-logo {
    color: var(--vyzn-accent);
    font-weight: 700;
    font-size: 1.5rem;
}
.vyzn-logo img{
    width:auto;
    height: 40px;
}

.nav-link {
    color: var(--vyzn-text) !important;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ced0d27d !important;
}

.custom-btn-contact {
    color: #000;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    border: 0;
    margin-top: 0;
    font-weight: 500;
    line-height: 20px;
}


p.lead.fw-bold.feature-card-tagline.text-start {
    width: 100%;
    margin: 15px 0;
    font-size: 1.25rem;
}
/* --- Hero Section Styling --- */
#hero {
    min-height: auto; /* Full viewport height */
    padding-top: 170px; /* Offset for fixed navbar */
    position: relative;
    flex-direction: column;
}

.hero-title {
    font-size: 3.5rem; /* Large text for desktop */
    line-height: 1.2;
}

.partner-strip {
    /* Position the logo strip at the bottom of the hero, centered */
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
}

.hero-logo {
    height: 100px; /* Small height for logos */
    filter: invert(1) grayscale(1); /* Make logos white/light on dark theme */
    transition: opacity 0.3s;
}

.hero-logo:hover {
    opacity: 1;
}

.rotate-on-scroll {
    transition: transform 1s ease;
    transform: rotate(0deg);
  }
  
  .rotate-on-scroll.visible {
    transform: rotate(360deg);
  }

/* --- Find Section Styling (Feature Card) --- */
.feature-card-bg {
    background-color: #1a1a1a; /* Lighter dark background for contrast */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-title {
    color: var(--vyzn-accent);
    font-weight: 700;
}

.feature-text {
    font-size: 1.75rem;
    font-weight: 300;
}

.feature-btn {
    border-color: var(--vyzn-accent) !important;
    color: var(--vyzn-accent) !important;
}

.feature-btn:hover {
    background-color: var(--vyzn-accent);
    color: var(--vyzn-dark) !important;
}

p.lead {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}
.feature-card-title img {
    margin-right: 10px;
}

h2.display-5.fw-bold.feature-card-title.text-start.black {
    color: black !important;
}
/* --- Partners Section Styling --- */
.partner-grid {
    padding-top: 30px;
}

.partner-logo {
    height: 70px; 
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.col.logo-block {
    border: 1px solid #fff3;
    border-radius: 10px;
    width: 18%;
    justify-content: center;
    align-items: center;
    max-height: 90px;
    padding: 20px;
    display: flex;
    margin: 5px;
}

.partner-logo:hover {
    opacity: 1;
}

/* --- Marquee Styling --- */
.logo-marquee-wrapper {
    width: 70%;
    overflow: hidden; 
    padding: 50px 0 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap; 
    animation: marquee-scroll 20s linear infinite; 
}

.hero-logo {
    height: 100px; 
    width: auto;
    flex-shrink: 0; 
    filter: invert(1) grayscale(1);
    transition: opacity 0.3s;
}

.hero-logo:hover {
    opacity: 1;
}

/* --- Marquee Animation Keyframes --- */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0); /* Start position */
    }
    100% {
        transform: translateX(-50%); 
    }
}

/* --- New: Feature Card Section Styling --- */
.feature-card {
    border-radius: 15px;
    overflow: hidden; /* Ensures patterns stay within rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
img.rotate-on-scroll {
    width: 280px;
    margin: 30px auto;
    position: relative;
    object-fit: contain;
}

.dark-card {
    background-color: var(--card-dark-bg);
    color: var(--vyzn-text);
}

.light-card {
    background-color: var(--card-light-bg);
    color: var(--card-light-text);
}

.feature-card-title {
    color: #fff; /* Accent color for titles */
    display: flex; /* For icon alignment */
    align-items: center;
    margin-bottom: 10px;
}

.feature-card-tagline {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Icons for Find and Raise */
.feature-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%); /* Turns a black icon to accent color */
}

.find-icon {
    /* Plus/Cross Icon */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M24 10.784H13.216V0H10.784V10.784H0V13.216H10.784V24H13.216V13.216H24V10.784Z"/></svg>');
}

.raise-icon {
    /* Up Arrow Icon */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 0L0 12h7v12h10V12h7L12 0Z"/></svg>');
    transform: rotate(180deg); /* Rotate arrow to point up */
}

/* Learn More Buttons */
.feature-card-btn {
    background-color: var(--vyzn-accent) !important; /* Green accent button */
    border-color: var(--vyzn-accent) !important;
    color: var(--vyzn-dark) !important;
    font-weight: 600;
}
.feature-card-btn:hover {
    opacity: 0.9;
}

.feature-card-btn-light {
    background-color: var(--vyzn-dark) !important; /* Dark button on light card */
    border-color: var(--vyzn-dark) !important;
    color: var(--vyzn-text) !important;
    font-weight: 600;
}
.feature-card-btn-light:hover {
    opacity: 0.9;
}


/* Patterns */

.feature-card-pattern {
    min-height: 250px; /* Ensure pattern div has height */
    background-size: 40px 40px; /* Size of the pattern squares */
    display: flex;
}

.find-pattern {
    /* Cross/Plus pattern */
    background-position: 0 0, 20px 20px;
    background-color: #222; /* Slightly different dark shade */
}

.raise-pattern {
    /* Chevron/Arrow pattern */
    animation: soothingGlow 4s ease-in-out infinite alternate;
    background-position: 10px 0, 10px 0, 0 10px, 0 10px;
    background-size: 20px 20px;
    background-color: #e0e0e0; /* Slightly different light shade */
}

    .popup {
      display: none;
      position: fixed;
      z-index: 100;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
    }
    .popup-content {
        background: #484e53e8;
    padding: 50px;
    width: 620px;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    }
    .footer-section .mb-1 {
        height: 28px;
    }
    .close {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 23px;
        cursor: pointer;
        color: #fff;
    }
    a.nav-link {
        font-size: 18px;
        text-transform: capitalize;
        margin: 0 25px;
    }
    #leadForm {
        display: flex;
        flex-wrap: wrap;
        gap: 20px; /* spacing between fields */
    }
    
    #leadForm .half {
        width: calc(50% - 10px); /* two fields per row */
        display: flex;
        flex-direction: column;
    }
    
    #leadForm label {
        font-weight: 600;
        margin-bottom: 5px;
    }
    
    #leadForm input {
        padding: 10px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Last field (company name) full width */
    #leadForm > label,
    #leadForm > input[type=\"text\"] {
        width: 100%;
    }
    
    .popup-content input,.popup-content button {
      width: 100%;
      margin: 6px 0;
      padding: 8px;
      border-radius: 6px;
      border: 1px solid #ccc;
    }
    p#responseMsg {
        color: #000;
        font-size: 1rem;
    }
    form#leadForm {
        text-align: justify;
    }
    form#leadForm label {
        color: #fff;
    }
    .popup-content h2 {
        font-size: 2rem;
        padding-bottom: 30px;
        font-weight: 600;
        color: #fff;
        -webkit-text-fill-color: none;
    }
    .custom-btn-contact:hover {
        color: #000;
        background: #C0C0C0;
    }
   
/* ------------------ */
/* 5. Footer Section */
/* ------------------ */

.footer-section {
    background-color: #000; /* Dark background as in the screenshot */
    color: #FFF;
    font-size: 0.9rem;
}

.footer-section h5 {
    font-size: 1rem;
    font-weight: 400;
    color: #FFF;
}

.footer-section .list-unstyled a {
    opacity: 0.75;
    transition: opacity 0.3s;
    line-height: 2;
}

.footer-section .list-unstyled a:hover {
    opacity: 1;
}
/* --- Media Queries for Responsiveness --- */

/* Tablet (md) and Smaller Desktop (lg) Adjustments */
@media (min-width: 768px) and (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .partner-strip {
        position: static; /* Stack logos below content on mobile */
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero-logo {
        height: 25px;
    }

    /* Center the nav links on mobile when expanded */
    .navbar-collapse {
        text-align: center;
    }

    .nav-item {
        margin: 10px 0;
    }
    
    .custom-btn-contact {
        display: block;
        margin: 15px auto 5px;
        width: 80%;
    }

    /* Adjust marquee speed and positioning for mobile */
    .logo-marquee-wrapper {
        bottom: 20px;
        padding: 10px 0;
    }
    .marquee-content {
        gap: 40px;
        animation-duration: 15s; /* Faster scroll on mobile */
    }
    .hero-logo {
        height: 25px;
    }

    .feature-card .row {
        flex-direction: column; /* Stack columns on mobile */
    }
    .feature-card-pattern {
        min-height: 150px; /* Smaller pattern area on mobile */
        order: -1; /* Place pattern on top for Find card on mobile */
    }
    .dark-card .feature-card-pattern {
        order: -1; /* Find pattern moves to top */
    }
    .light-card .feature-card-pattern {
        order: 1; /* Raise pattern moves to bottom on mobile, consistent with desktop visual if pattern was on left */
    }
    /* Adjust text alignment for mobile if needed */
    .feature-card .p-5 {
        padding: 3rem 1.5rem !important;
        text-align: center !important;
        align-items: center !important; /* Center content */
    }
    .feature-card-title, .feature-card-tagline {
        text-align: center !important;
        justify-content: center; /* Center icon and title */
    }
    .feature-card p {
        text-align: center !important;
    }
}