/*
Theme Name: Neelvanta Tech
Theme URI: https://neelvanta.com
Author: Neelvanta
Author URI: https://neelvanta.com
Description: A modern, high-performance WordPress theme inspired by Vamtam Tecnologia, built for speed and SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neelvanta-tech
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, left-sidebar, right-sidebar, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, accessibility-ready
*/

/* Reset and base styles */
:root {
    /* Main Colors */
    --primary-color: #0f5bff;
    --primary-hover: #0a4acc;
    --secondary-color: #1a1a2e;
    --accent-color: #00c9ff;
    
    /* Text Colors */
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --text-on-dark: #ffffff;
    
    /* Background Colors */
    --background: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a2e;
    --overlay: rgba(0, 0, 0, 0.7);
    
    /* Border Colors */
    --border-color: #e1e4e8;
    --border-light: #f0f0f0;
    
    /* Utility Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Poppins', var(--font-sans);
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 1.5rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Form Elements */
    --input-height: 3rem;
    --input-padding: 0.75rem 1rem;
    --input-radius: var(--radius);
    --input-border: 1px solid var(--border-color);
    --input-focus-border: 1px solid var(--primary-color);
    --input-focus-shadow: 0 0 0 3px rgba(15, 91, 255, 0.15);
    --input-transition: var(--transition);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contact Form 7 Styles */
.wpcf7 {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.25rem;
}

.wpcf7-form-control {
    width: 100%;
    height: var(--input-height);
    padding: var(--input-padding);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background);
    background-clip: padding-box;
    border: var(--input-border);
    border-radius: var(--input-radius);
    transition: var(--input-transition);
    margin-bottom: 0.5rem;
    border: 1px solid #000;
}

.wpcf7-form-control:focus {
    color: var(--text-color);
    background-color: var(--background);
    border-color: var(--input-focus-border);
    outline: 0;
    box-shadow: var(--input-focus-shadow);
}

.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--input-radius);
    transition: var(--transition);
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcf7-submit:hover, 
.wpcf7-submit:focus {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    outline: none;
}

.wpcf7-submit:active {
    transform: translateY(0);
}

.wpcf7-not-valid-tip {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem 1.25rem !important;
    border-radius: var(--radius) !important;
    border: 1px solid transparent !important;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.wpcf7-mail-sent-ok {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc !important;
}

.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7 !important;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: var(--error);
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    border-color: var(--error);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Make sure html and body take up full viewport height */
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segeo UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 100px 0 0 0; /* Space for fixed header at the top */
    line-height: 1.6;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--secondary-color);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    width: 100%;

}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.page-template-default.page div#content {
    margin-top: 30px;
}

/* Main content wrapper - this will grow to fill available space */
#page {
    flex: 1 0 auto;
    width: 100%;
    min-height: calc(100vh - 80px - 100px); /* viewport height - header height - footer height */
}

/* Footer styles */
.site-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    background: url('assets/images/contact-us-bg.png') no-repeat center center;
    background-size: cover;
    padding: 2rem 0;
    background-color: var(--dark-bg);
    color: var(--text-on-dark);
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}



/* Navigation */
.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}
.box-container {
    box-shadow: 1px 1px 10px #ccc;
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform  .4s;
}
.box-container h3 {
    padding-bottom: 10px;
}
.box-container h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }
}

/* Footer Widgets */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--text-on-dark);
    padding: 4rem 0 2rem;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-widget-area {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    margin-bottom: 2rem;
}

.footer-widget-area .widget {
    margin-bottom: 1.5rem;
}

.footer-widget-area .widget-title {
    color: var(--text-on-dark);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget-area .widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-area ul li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-widget-area a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsive Footer Widgets */
@media (max-width: 992px) {
    .footer-widget-area {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .footer-widget-area {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Footer Bottom Content */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-address {
    flex: 1;
    margin-right: 2rem;
    overflow: hidden;
}

.footer-address p {
    color: #ffffff;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Ensure all footer links are white */
.footer-address a,
.footer-legal-links a,
.footer-copyright a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-address a:hover,
.footer-legal-links a:hover {
    opacity: 0.8;
}

.footer-address .divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.footer-address i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.footer-address i.fa-map-marker {
    margin-left: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-social .social-icon i {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-address {
        margin-right: 0;
        margin-bottom: 0;
        flex: 1 1 100%;
    }
    
    .footer-address p {
        white-space: normal;
        text-align: left;
        display: block;
    }
    
    .footer-address .divider {
        display: inline-block;
    }
    
    .footer-social {
        margin: 0 auto;
    }
    .site-footer{
        background-image: none;
    }
}

/* Footer Info */
.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
}

.footer-legal-links {
    display: inline-block;
    margin-top: 0.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive adjustments for footer legal links */
@media (max-width: 576px) {
    .footer-copyright {
        font-size: 0.8125rem;
    }
    
    .footer-legal-links {
        display: block;
        margin-top: 0.75rem;
    }
    
    .footer-legal-links a {
        display: inline-block;
        margin: 0.25rem 0.5rem;
    }
}

.footer-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-navigation li {
    margin-left: 1.5rem;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-navigation a:hover {
    color: var(--primary-color);
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
