/* Service Card Images */
.service-img {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 18px;
    margin: 0 auto 18px auto;
    display: block;
    box-shadow: 0 4px 16px rgba(34,197,94,0.10);
    background: #181e26;
    position: relative;
    z-index: 1;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #f3f4f6;
    overflow-x: hidden;
    background: #10141a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(24, 30, 38, 0.82) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1.5px solid rgba(34, 197, 94, 0.18);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}


.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    text-shadow: none;
    padding: 4px 0;
}

.nav-logo-img {
    display: inline-block;
    vertical-align: middle;
    max-height: 38px;
    width: auto;
    margin-right: 8px;
    border-radius: 10px;
    padding: 2px;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    transition: none;
 }

.nav-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #22c55e;
    text-shadow: 0 0 8px #22c55e44;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    box-shadow: none;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
@media screen and (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: fixed;
        left: -100%;
        top: 70px;
        background: linear-gradient(135deg, #181e26 0%, #232b36 100%) !important;
        text-align: center;
        box-shadow: 0 10px 27px rgba(34, 197, 94, 0.12);
        padding: 20px 0;
        border-top: 1px solid rgba(34, 197, 94, 0.15);
        z-index: 2000;
        gap: 0;
        transition: left 0.3s;
    }
    .nav-menu.active {
        left: 0;
        background: linear-gradient(135deg, #181e26 0%, #232b36 100%) !important;
    }
    .nav-item {
        margin: 16px 0;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: #22c55e;
    margin: 3px 0;
         background: #181e26;
    box-shadow: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #181e26 0%, #232b36 100%);
    color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    opacity: 0.6;
}

@keyframes matrixRain {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #22c55e;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 30px 0;
    opacity: 0.8;
    line-height: 1.6;
    text-align: left;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}
.hero-overlay{
    position:absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(1px);
    z-index: 1;
}
/* Hero Spline Section with Overlay */
.hero-spline-bg {
    width: 100vw;
    height: 100vh;
    min-height: 320px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.hero-spline-bg iframe {
    width: 100vw;
    height: 100vh;
    min-height: 320px;
    display: block;
    border: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    pointer-events: none;
}
.hero-overlay .hero-content {
    border-radius: 0;
    padding: 0 5rem;
    box-shadow: none;
    text-align: center;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 70%;
}
@media screen and (max-width: 480px) {
    .hero-overlay, .hero-overlay .hero-content {
        height: 0vh;
        max-height: none;
    }
}
.hero-title {
    color: #22c55e;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
@media screen and (max-width: 768px) {
    .hero-spline-bg, .hero-spline-bg iframe, .hero-overlay {
        height: 320px;
        min-height: 180px;
    }
    .hero-title {
        font-size: 2rem;
    }
}
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    border: 1px solid #0d8338;
    text-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: #22c55e;
    border: 2px solid #22c55e;
    text-shadow: none;
}

.btn-secondary:hover {
    background: #22c55e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    text-shadow: none;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-graphic {
    width: 300px;
    height: 300px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 0.3);
    box-shadow: 
        0 0 30px rgba(34, 197, 94, 0.2),
        inset 0 0 30px rgba(34, 197, 94, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(34, 197, 94, 0.2),
            inset 0 0 30px rgba(34, 197, 94, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 50px rgba(34, 197, 94, 0.3),
            inset 0 0 50px rgba(34, 197, 94, 0.15);
    }
}

.security-graphic i {
    font-size: 8rem;
    color: #22c55e;
    text-shadow: none;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #22c55e;
    text-shadow: none;
}

.section-header p {
    font-size: 1.1rem;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 4em 2em;
    background-color: #181e26;
}
.services-grid {
    display: flex;
}
/* Green horizontal bar between cards */
.services hr {
    width: 2px;
    height: 250px;
    align-self: center;
    background: #87eb94;
    border: 1px solid #87eb94;
    margin: 0 2em;
    display: block;
}
.service-card {
    padding: 2em;
    border-radius: 9px;
    width: 22%;
    text-align: center;
}

.service-card {
    position: relative;
}
.service-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.18);
    margin: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #22c55e;
}

.service-card p {
    color: #e5e7eb;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 5px 0;
    color: #e5e7eb;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    text-shadow: none;
}

/*About Section*/
.about{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #10141a;
    height: 70vh;
    color: #f0f0f0;
}
.about .left, .about .middle, .about .right{
    width: 30%;
}
.about .left h2{
    font-size: 2em;
}
.about .left button{
    background-color: #0d8338;
    color: #fff;
    border: none;
    padding: 1em 2em;
    cursor: pointer;
    border-radius: 9px;
    margin-top: 1em;
}
.about .left button a{
    text-decoration: none;
    color: #f0f0f0;
}
.about .middle{
    height: inherit;
    background:url(/asseties/images/BioGlytch\ CircuitByt3\ Cover.png);
    background-size: cover;
    background-position: center;
    color: #f3f4f6;
    text-align: center;
    padding: 100px 20px;
}
.middle img{
    display: none;
}
.about .right a{
    color: #22c55e;
    text-decoration: none;
}
.project-cards {
    display: flex;
    gap: 20px;
    margin-top: 1em;
}
.project-card {
    background-color: #232b36;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
}
.project-card:hover{
    background-color: #22c55e;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}
.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #22c55e;
}
.project-card:hover h3 {
    color: #fff;
}
.project-card:hover p {
    color: #fff;
}
.project-card small a {
    color: #22c55e;
    text-decoration: none;
}
.project-card:hover small {
    text-decoration: underline;
}
.project-card:hover small a {
    color: #181e26;
}
.about .right blockquote{
    font-style: italic;
    color: #eeeeee;
    font-size: 1.4em;
}
.about .right blockquote::before,
.about .right blockquote::after{
    content: '"';
    font-size: 3em;
    color: #22c55e;
    vertical-align: top;
}
.about .right .rating{
    font-size: 1.7em;
    color: #22c55e;
    margin-top: 1em;
}
/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: #181e26;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature i {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 20px;
    text-shadow: none;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #22c55e;
}

.feature p {
    color: #e5e7eb;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #181e26 0%, #10141a 100%);
    color: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0.3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: none;
    color: #22c55e;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.6;
    color: #e5e7eb;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    margin-right: 15px;
    color: #22c55e;
    width: 20px;
    text-shadow: 0 0 8px #22c55e44;
}

.contact-item a {
    color: #22c55e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #22c55e;
}

.contact-form {
    background: #232b36;
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.12);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    background: #181e26;
    color: #f3f4f6;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
    background: #232b36;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.18);
}

.form-group select option {
    background: #232b36;
    color: #f3f4f6;
}

/* Security Form Enhancements */
.error-message {
    display: block;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 68, 68, 0.3);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #ff4444 !important;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3) !important;
    background: rgba(255, 68, 68, 0.1) !important;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #22c55e !important;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2) !important;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loader i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Rate limiting indicator */
.rate-limit-notice {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* Success message */
.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(420px);
    transition: transform 0.3s ease;
    border-left: 4px solid;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-left-color: #ff6b7a;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.notification.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-left-color: #86efac;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.notification.info {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-left-color: #66b3ff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.notification.warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-left-color: #ffe066;
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.notification i {
    margin-right: 10px;
}

@media screen and (max-width: 480px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #181e26 0%, #10141a 100%);
    color: #e5e7eb;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #22c55e44;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #22c55e;
    text-shadow: 0 0 5px #22c55e44;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22c55e;
    text-shadow: 0 0 5px #22c55e88;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #22c55e;
}

.social-links a:hover {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.18);
}

.footer-bottom {
    border-top: 1px solid rgba(34, 197, 94, 0.12);
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(34, 197, 94, 0.12);
        padding: 20px 0;
        border-top: 1px solid rgba(34, 197, 94, 0.15);
        z-index: 2000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 2100;
        background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.10);
        padding: 6px;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero{
    background: linear-gradient(135deg, #181e26 0%, #232b36 100%);
    color: #f3f4f6;
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url(/asseties/images/Polygon\ Luminary.svg) no-repeat center center;
    background-size: cover;
    }

    .hero-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 80vh;
    padding: 0px 0px;
    width: 100%;
    justify-content: center;
    
    }
    .hero-overlay {
        position: relative;
        height: 90vh;
        min-height: 90vh;
        max-height: none;
        background: rgba(24, 30, 38, 0) !important;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about {
        gap: 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        height: 220vh;
    }
    .about .left, .about .middle, .about .right{
        width: 90%;
    }
    .about .middle{
        display: flex;
        justify-content: center;
        align-items: center;
        height: fit-content;
        background: #10141a00;
        
    }
    .about .middle img{
        width: 100%;
        height: auto;
        border-radius: 10px;
        display: block;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .services{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .services hr{
        width: 80%;
        height: 1px;
        margin: 20px 0;
        border-color: rgba(34, 197, 94, 0.2);
    }
    .services .service-card {
        width: 80%;
        padding: 30px 20px;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 25px;
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    transform: translateY(-3px);
}

.scroll-top-btn:active {
    transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 80px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

.chat-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.chat-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #ffffff;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 600px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
}

.chat-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-status {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
    max-height: 400px;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.bot-message .message-content p {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px 12px 12px 4px;
    margin: 0;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content p {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 12px 16px;
    border-radius: 12px 12px 4px 12px;
    margin: 0;
    color: #ffffff;
}

.message-time {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
    display: block;
}

.user-message .message-time {
    text-align: right;
}

.chat-quick-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.quick-option {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    text-align: center;
}

.quick-option:hover {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #22c55e;
    transform: translateY(-2px);
}

.quick-option i {
    font-size: 1rem;
}

.chat-input-container {
    display: flex;
    padding: 16px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 16px 16px;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-input:focus {
    border-color: #22c55e;
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-send:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: scale(1.05);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 480px) {
    .chat-box {
        width: calc(100vw - 40px);
        max-height: 500px;
        right: 50%;
        transform: translateX(50%) translateY(20px) scale(0.95);
    }
    
    .chat-box.active {
        transform: translateX(10%) translateY(0) scale(1);
    }
    
    .chat-quick-options {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 768px) {
    .hero-spline-bg {
        display: none !important;
    }
    .hero-overlay {
        position: relative;
        background: #1f2937;
        height: auto;
        min-height: 180px;
        max-height: none;
    }
}
@media screen and (max-width: 768px) {
    .hero-spline-bg, .hero-spline-bg iframe, .hero-overlay {
        height: 320px;
        min-height: 180px;
        max-height: 320px;
    }
    .hero-overlay .hero-content {
        padding: 12px 4px;
    }
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
@media screen and (max-width: 480px) {
    .hero-spline-bg, .hero-spline-bg iframe, .hero-overlay {
        height: inherit;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}
.navbar {
    background: rgba(24, 30, 38, 0.82) !important;
}
.nav-container {
    background: transparent !important;
}
@media screen and (max-width: 1024px) {
    .navbar {
        background: rgba(24, 30, 38, 0.82) !important;
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }
    .nav-container {
        background: rgba(24, 30, 38, 0.82) !important;
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }
}
@media screen and (max-width: 768px) {
    .navbar {
        background: rgba(24, 30, 38, 0.82) !important;
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }
    .nav-container {
        background: rgba(24, 30, 38, 0.82) !important;
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }
}

.btn,
.btn-primary,
.btn-secondary,
.chat-send,
.chat-toggle,
.scroll-top-btn {
    border-radius: 5px !important;
}

@media screen and (max-width: 768px) {
    .hero-overlay {
        background: rgba(0, 44, 102, 0) !important;
    }
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        background: linear-gradient(135deg, #181e26 0%, #232b36 100%) !important;
    }
}

section, .services, .about, .why-choose, .contact, .footer {
  background: #181e26;
  margin: 0;
  padding-top: 48px;
  padding-bottom: 48px;
  border-radius: 0;
  box-shadow: none;
}

/* Reduce vertical gaps between sections */
.services, .about, .why-choose, .contact {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(34,197,94,0.08);
}

/* Remove extra top margin from first section and bottom margin from last */
section:first-of-type, .about:first-of-type {
  padding-top: 32px;
}
.footer {
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(34,197,94,0.08);
}

/* Unify card and content spacing */
.service-card, .about-image-card, .testimonial-carousel, .contact-form {
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,197,94,0.06);
  background: #232b36;
}

/* Consistent section header spacing */
.section-header, .about-text h2, .services h2, .why-choose h2, .contact-info h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

/* Removed the last @media screen and (max-width: 768px) block for testimonial-carousel, .carousel-arrow, and .testimonial-slide */
