/* OneComm - Custom Styles */
:root {
    --primary-color: #0066CC;
    --secondary-color: #004499;
    --accent-color: #00AAFF;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: 10px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-top: 76px;
}

/* Service Cards */
.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    color: white;
    font-size: 2rem;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-large i {
    color: white;
    font-size: 2.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Project Cards */
.project-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-content {
    padding: 1.5rem;
}

.project-content h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-content .text-muted {
    color: var(--text-light) !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
}

/* About Section Styles */
.about-stats .stat-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.mission-vision-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.value-item {
    padding: 1.5rem;
    text-align: center;
}

.value-icon {
    margin-bottom: 1rem;
}

.value-item h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
}

.certification-item {
    padding: 1.5rem;
}

.certification-item h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.certification-item p {
    color: var(--text-light);
}

.coverage-item {
    padding: 1rem;
}

.coverage-item h6 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.coverage-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.contact-info {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h6 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.quick-contact {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

.quick-contact h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Blog Styles */
.blog-post {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-post.featured {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.blog-post .post-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.blog-post.featured .post-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

.post-content {
    padding: 1.5rem;
}

.blog-post.featured .post-content {
    padding: 0;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta i {
    margin-right: 0.5rem;
}

.post-title {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.post-title:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.widget-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
}

.count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.post-info h6 {
    margin: 0;
    font-size: 0.9rem;
}

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

.post-info a:hover {
    color: var(--primary-color);
}

.post-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    border: none;
}

.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c) !important;
    color: white;
}

footer h5, footer h6 {
    color: white;
    margin-bottom: 1rem;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .blog-post.featured {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-post.featured .post-image {
        width: 100%;
        height: 200px;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .contact-form-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background: #128C7E;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    text-decoration: none !important;
}

.whatsapp-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    display: block;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.whatsapp-button i {
    margin: 0;
    line-height: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
