/* GRC Revenue - Professional Utility Solutions CSS */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #2B4C8C, #1E3A8A);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f0f1f363, #8081816c);
    border-radius: 0.5em;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
   
}


.logo-img {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #10B981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: none; /* Hide text when logo is present */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #10B981;
    outline: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Mobile menu animation */
.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Optimize video performance */
    will-change: transform;
    pointer-events: none;
}

/* Pause video on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .video-fallback {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 76, 140, 0.7), rgba(30, 58, 138, 0.7));
    z-index: -1;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 76, 140, 0.9), rgba(30, 58, 138, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(16,185,129,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #10B981, #059669);
}

.cta-btn.secondary {
    background: linear-gradient(45deg, #2B4C8C, #1E3A8A);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-icon {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease 2s both;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Services Section */
.services {
    padding: 120px 0 100px;
    background: #f8f9fa;
    position: relative;
    z-index: 10;
    margin-top: 0;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2B4C8C;
    font-weight: 700;
    opacity: 1;
    transform: translateY(0);
}

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2B4C8C, #1E3A8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2B4C8C;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-benefits {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    font-size: 1.1rem;
}

.cta-btn:hover,
.cta-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    outline: none;
}

.service-benefits {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-benefits li {
    color: #059669;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hardware Section */
.hardware {
    padding: 100px 0;
    background: white;
}

.hardware-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hardware-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.hardware-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.hardware-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hardware-card:hover .hardware-image img {
    transform: scale(1.05);
}

.hardware-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hardware-badge:not(.new):not(.best-value) {
    background: linear-gradient(45deg, #10B981, #059669);
}

.hardware-badge.new {
    background: linear-gradient(45deg, #EF4444, #DC2626);
}

.hardware-badge.best-value {
    background: linear-gradient(45deg, #F59E0B, #D97706);
}

.hardware-info {
    padding: 2rem;
}

.hardware-info h3 {
    font-size: 1.4rem;
    color: #2B4C8C;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hardware-category {
    color: #10B981;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hardware-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hardware-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: #f0fdf4;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

.hardware-pricing {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    text-align: center;
}

.price-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.price {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #2B4C8C;
    margin-bottom: 0.25rem;
}

.price-note {
    color: #666;
    font-size: 0.85rem;
}

.hardware-btn {
    width: 100%;
    background: linear-gradient(45deg, #2B4C8C, #1E3A8A);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 76, 140, 0.3);
}

.hardware-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
}

.hardware-cta h3 {
    font-size: 1.8rem;
    color: #2B4C8C;
    margin-bottom: 1rem;
}

.hardware-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2B4C8C;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.credentials {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.credentials h3 {
    color: #2B4C8C;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    color: #059669;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.mission-box {
    background: linear-gradient(135deg, #2B4C8C, #1E3A8A);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: sticky;
    top: 120px;
}

.mission-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-box p {
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #10B981;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2B4C8C, #1E3A8A);
    color: white;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-family: inherit;
}

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

.form-group select {
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.submit-btn:hover,
.submit-btn:focus {
    transform: translateY(-2px);
    outline: none;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #10B981;
    text-decoration: none;
}

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

.contact-item small {
    display: block;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.emergency-notice {
    background: rgba(16, 185, 129, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid #10B981;
}

.emergency-notice h4 {
    color: #10B981;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #10B981;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #10B981;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: #ccc;
}
.footer-bottom a {
    margin-bottom: 0.5rem;
    color: #ccc;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .logo-img {
        height: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .hardware-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mission-box {
        position: static;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }

    .hero-buttons {
        width: 100%;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hardware-info {
        padding: 1.5rem;
    }

    .hardware-cta {
        padding: 2rem 1rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    /* Ensure video scales properly on small screens */
    .hero-video {
        min-width: 100%;
        min-height: 100%;
    }
}