/*
Theme Name: Certifi Screen
Theme URI: https://certifiscreen.com
Author: Neurigenx
Author URI: https://certifiscreen.com
Description: Custom theme for Certifi Screen - Professional Background Verification Services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: certifiscreen
*/

/* Global Styles */
:root {
    --dark-blue: #0a1930;
    --navy: #132347;
    --dark-gray: #1d2b3a;
    --medium-gray: #2a3b53;
    --light-gray: #7b8ab5;
    --gold: #d4af37;
    --teal: #2dd4bf;
    --white: #ffffff;
    --light-blue: #4a6fc3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8rem;
    color: var(--teal);
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--light-gray);
}

a {
    text-decoration: none;
    color: var(--teal);
    transition: color 0.3s;
}

a:hover {
    color: var(--gold);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--teal);
    color: var(--dark-blue);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
}

.btn-outline:hover {
    background-color: var(--teal);
    color: var(--dark-blue);
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--teal);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header Styles */
header {
    background-color: var(--navy);
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--white);
}

.logo span {
    color: var(--teal);
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.desktop-nav ul li {
    margin-left: 25px;
}

.desktop-nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.desktop-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.3s;
}

.desktop-nav ul li a:hover:after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--navy);
    z-index: 1001;
    padding: 60px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease-in-out;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Auth Toggle Button */
.auth-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: var(--teal);
    color: var(--dark-blue);
    padding: 10px 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    z-index: 998;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
    }
}

/* Auth Panel Styles */
.auth-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    background-color: var(--navy);
    z-index: 9999;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    overflow-y: auto;
}

.auth-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-form {
    margin-bottom: 30px;
    position: relative;
}

.auth-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--teal), transparent);
    margin: 30px 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(45, 212, 191, 0.3);
}

.form-divider:before {
    content: 'or';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--navy);
    padding: 0 10px;
    color: var(--teal);
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-gray);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    color: var(--white);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-options a {
    color: var(--teal);
}

.close-auth {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--light-gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.close-auth:hover {
    color: var(--teal);
}

.close-auth-text {
    font-size: 0.9rem;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(10, 25, 48, 0.9), rgba(19, 35, 71, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--navy);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: var(--navy);
    border-radius: 8px;
    padding: 30px;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    margin-right: 15px;
    overflow: hidden;
}

.author-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--teal);
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: var(--navy);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.industry-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-plan {
    background-color: var(--navy);
    border-radius: 8px;
    padding: 40px 30px;
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px);
}

.pricing-plan.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-plan.featured {
    border: 2px solid var(--teal);
    transform: scale(1.05) translateY(50px);
}

.pricing-plan.featured.visible {
    transform: scale(1.05) translateY(0);
}

.plan-name {
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--light-gray);
}

.contact-sales-btn {
    margin-top: auto;
}

/* Contact Form */
.contact-form {
    background-color: var(--navy);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.contact-form h3 {
    margin-bottom: 25px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-half {
    flex: 1;
}

textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    color: var(--white);
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--navy);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-links i {
    margin-right: 10px;
    color: var(--teal);
    width: 20px;
}

.footer-links a {
    color: var(--light-gray);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .auth-panel {
        width: 85%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan.featured {
        transform: translateY(50px);
    }
    
    .pricing-plan.featured.visible {
        transform: translateY(0);
    }
    
    .auth-toggle {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .service-card, .testimonial, .pricing-plan {
        padding: 20px;
    }
    
    .auth-panel {
        width: 95%;
        padding: 20px;
    }
    
    .close-auth-text {
        display: none;
    }
    
    .mobile-nav {
        width: 85%;
        padding: 50px 20px 20px;
    }
}