/* Vital Technology Group - Modern Responsive Design */

/* CSS Variables for consistent theming */
:root {
    --primary-orange: #F57603;
    --dark-orange: #E67817;
    --text-gray: #808080;
    --dark-gray: #4a4a4a;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.9;
    line-height: 1.2;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    font-size: 1rem;
}

nav a:hover,
nav a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(70,70,70,0.95) 0%, rgba(40,40,40,0.95) 100%), 
                linear-gradient(to right, rgba(245,118,3,0.1) 0%, rgba(230,120,23,0.1) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero h1 .highlight {
    color: var(--primary-orange);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section.alt {
    background-color: var(--light-gray);
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(245,118,3,0.02) 49%, rgba(245,118,3,0.02) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, rgba(245,118,3,0.02) 49%, rgba(245,118,3,0.02) 51%, transparent 52%);
    background-size: 60px 60px;
}

.section-title {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    text-align: center;
}

.section-title .highlight {
    color: var(--primary-orange);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(245, 118, 3, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.card h3 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 15px;
}

.card p {
    margin-bottom: 10px;
}

.card ul {
    list-style: none;
    margin-top: 15px;
}

.card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-gray);
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li strong {
    color: var(--dark-gray);
}

/* Service Tier Cards */
.tier-card {
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    border: 2px solid var(--border-gray);
}

.tier-card h3 {
    background: var(--primary-orange);
    color: var(--white);
    margin: -30px -30px 20px -30px;
    padding: 15px 30px;
    border-radius: 6px 6px 0 0;
}

/* Stats/Highlight Boxes */
.stat-box {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-orange);
    padding: 20px;
    margin: 20px 0;
    position: relative;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

.stat-box strong {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

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

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #d32f2f;
}

.error-message {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(245, 118, 3, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 118, 3, 0.4);
}

.btn:disabled {
    background: var(--text-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

/* Contact Info */
.contact-info {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info h3 i {
    margin-right: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-info p i {
    color: var(--primary-orange);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--dark-orange);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer p {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-orange);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    nav ul li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .header-content {
        position: relative;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-title {
        font-size: 1.1rem;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.7rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .logo-title {
        font-size: 0.9rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
}
