/*
Theme Name: AR VOLTCAL SOLUTIONS (PRIVATE) LIMITED Theme
Description: Custom WordPress theme for AR VOLTCAL SOLUTIONS (PRIVATE) LIMITED - Complete with responsive design, hover effects, and proper image paths - Calibration, Solar Energy & Instrument Supply
Version: 2.6
Author: AR VOLTCAL SOLUTIONS (PRIVATE) LIMITED
*/

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

body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #777777;
    font-size: 16px;
    line-height: 1.6;
}

.website-wrapper {
    overflow-x: hidden;
}

/* Header Styles */
.whb-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.whb-main-header {
    padding: 15px 0;
}

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

.whb-flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    width: 70px;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.wd-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.wd-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 25px;
    position: relative;
}

.wd-nav a.current-page {
    color: #ffffff;
    background: linear-gradient(45deg, #006838, #142655);
    box-shadow: 0 4px 15px rgba(20, 38, 85, 0.3);
}

.wd-nav a:not(.current-page):hover {
    color: #ffffff;
    background: linear-gradient(45deg, #006838, #142655);
    box-shadow: 0 4px 15px rgba(20, 38, 85, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 20px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 5px 0;
}

.mobile-nav a.current-page {
    color: #ffffff;
    background: linear-gradient(45deg, #006838, #142655);
    border-bottom: 1px solid transparent;
}

.mobile-nav a:not(.current-page):hover {
    color: #ffffff;
    background: linear-gradient(45deg, #006838, #142655);
    border-bottom: 1px solid transparent;
}

.btn {
    background: linear-gradient(45deg, #006838, #142655);
    color: white;
    padding: 12px 25px;
    border-radius: 21px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn:hover {
    background: linear-gradient(45deg, #142655, #006838);
    color: white;
}

/* Main Content */
.main-page-wrapper {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(20,38,85,0.8), rgba(0,104,56,0.8));
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 36px;
    color: #142655;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}



.section-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #006838;
    font-weight: bold;
    font-size: 18px;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #93b8a7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #1F7954;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.service-card:hover,
.service-card:active {
    background: linear-gradient(135deg, #1F7954 0%, #006838 100%);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #142655 0%, #006838 100%);
    background-size: cover;
    background-position: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover,
.product-card:active {
    box-shadow: 0 10px 25px rgba(0,104,56,0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f5 100%);
}

.product-card:hover h4 {
    color: #006838;
}

.product-card h4 {
    transition: color 0.3s ease;
    color: #142655;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 70px 0 40px;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

.contact-card:hover,
.contact-card:active {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f5 100%);
    box-shadow: 0 8px 20px rgba(0,104,56,0.12);
}

.contact-card h3 {
    color: #142655;
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-card:hover h3 {
    color: #006838;
}

.contact-card a {
    color: #777777;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card:hover a {
    color: #142655;
}

.contact-card p {
    color: #777777;
    transition: color 0.3s ease;
}

.contact-card:hover p {
    color: #142655;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 30px;
    border-radius: 15px;
}

.contact-form:hover {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 25px rgba(0,104,56,0.15);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    color: #333;
}

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

/* Footer */
.footer-container {
    background: linear-gradient(135deg, #142655 0%, #006838 100%);
    color: white;
    padding: 50px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-section {
    min-height: 200px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #006838;
    border-radius: 1px;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 15px;
}

.quick-menu ul {
    list-style: none;
    padding: 0;
}

.quick-menu li {
    margin-bottom: 8px;
}

.quick-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 4px 0;
    position: relative;
    z-index: 10;
}

.quick-menu a:hover {
    color: #ffffff;
}

.quick-menu a::before {
    content: '▶';
    margin-right: 6px;
    font-size: 8px;
    color: #006838;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #006838;
    border-color: #006838;
    color: white;
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #006838;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #006838, #142655);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: linear-gradient(45deg, #142655, #006838);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wd-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .whb-flex-row .btn {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form .btn {
        display: block !important;
        width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-section {
        min-height: auto;
    }
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* Admin bar adjustment */
.admin-bar .whb-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .whb-header {
        top: 46px;
    }
}