/* Moving the existing CSS content to the new location */
/* Global Styles */
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #1a1f36;
    --accent-color: #f7f8fa;
    --background-color: #ffffff;
    
    /* New color variables */
    --gradient-primary: linear-gradient(135deg, #ff4d4d, #ff6b6b);
    --gradient-dark: linear-gradient(135deg, #1a1f36, #2d3456);
    --gradient-light: linear-gradient(135deg, #f7f8fa, #ffffff);
    --color-success: #2ecc71;
    --color-info: #3498db;
    --color-warning: #f1c40f;
    --color-danger: #e74c3c;
    --color-purple: #9b59b6;
    --color-teal: #1abc9c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background: var(--background-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    position: relative;
    padding: 35px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 5px;
    bottom: 0;
    left: 0;
    background-color: #E31E26;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #E31E26;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #E31E26;
}

.nav-links a.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

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

    .nav-links a {
        padding: 12px;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 500px;
    display: flex;
    align-items: center;
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.05);
    opacity: 1;
}

.bg3 {
    background-image: linear-gradient(rgba(26, 31, 54, 0.7), rgba(45, 52, 86, 0.7)),
                      url('https://images.unsplash.com/photo-1555949963-ff9fe0c870eb');
}

.bg1, .bg4, @keyframes fadeInOut {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 85, 104, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(49, 151, 149, 0.08) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero .cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.2);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px;
        height: auto;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 28px;
        white-space: normal;
    }

    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 24px;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 77, 77, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.1), rgba(155, 89, 182, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .services h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

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

/* Certifications Section */
.certifications {
    padding: 30px 0;
    background-color: var(--background-color);
}

.certifications h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--secondary-color);
}

.cert-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 40px auto 0;
    }
}

.cert-card {
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .cert-card {
        padding: 10px;
    }

    .cert-card img {
        width: 100px;
        height: 100px;
        margin: 0;
    }

    .cert-card p {
        margin: 0;
        line-height: 1.3;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-card img {
        width: 100px;
        height: 100px;
        margin: 0;
    }

    .cert-card p {
        line-height: 1.2;
    }
}

.cert-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cert-card:hover img {
    transform: scale(1.1);
}

.cert-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0 10px;
    }

    .cert-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 5px;
        gap: 8px;
    }

    .cert-card img {
        width: 100px;
        height: 100px;
        margin: 0;
    }

    .cert-card p {
        line-height: 1.2;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cert-card {
        padding: 10px;
    }

    .cert-card img {
        width: 80px;
        height: 80px;
    }

    .cert-card p {
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
    }
}

/* Clients/Industries Section */
.clients {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.clients .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients .section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.clients .section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.industries-section {
    padding: 80px 0;
    background-color: #1a1f36;
    color: white;
}

.industries-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.industries-section h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.industries-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-item {
    background: #2a2f45;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.bento-item .content {
    color: white;
}

.bento-item h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

.bento-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 16px;
}

.bento-item::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13l5 5 5-5'/%3E%3Cpath d='M7 6l5 5 5-5'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.bento-item.expanded::after {
    transform: rotate(180deg);
}

.government {
    grid-column: span 6;
    grid-row: span 1;
    background: linear-gradient(135deg, #805ad5, #553c9a);
}

.government:hover {
    background: linear-gradient(135deg, #6b46c1, #44337a);
}

.aviation {
    grid-column: span 3;
    grid-row: span 1;
    background: linear-gradient(135deg, #38bdf8, #0c4a6e);
}

.aviation:hover {
    background: linear-gradient(135deg, #0ea5e9, #082f49);
}

.education {
    grid-column: span 3;
    grid-row: span 1;
    background: linear-gradient(135deg, #d69e2e, #b7791f);
}

.education:hover {
    background: linear-gradient(135deg, #c17d10, #975a16);
}

.telecom {
    grid-column: span 4;
    grid-row: span 1;
    background: linear-gradient(135deg, #e53e3e, #9b2c2c);
}

.telecom:hover {
    background: linear-gradient(135deg, #c53030, #822727);
}

.commercial {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.commercial:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

/* Custom Icon Colors */
.bento-item .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 20px;
    color: inherit;
    vertical-align: middle;
    min-width: 40px;
}

.bento-item h3 {
    display: inline;
    vertical-align: middle;
    font-size: 22px;
    color: white;
    font-weight: 600;
}

.bento-item .content {
    display: flex;
    align-items: flex-start;
}

.bento-item .text-content {
    flex: 1;
}

.preview-content {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.preview-content p {
    margin-bottom: 15px;
}

.full-content {
    display: none;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.full-content p {
    margin-bottom: 15px;
}

.full-content p:last-child {
    margin-bottom: 0;
}

.bento-item.expanded .preview-content {
    display: none;
}

.bento-item.expanded .full-content {
    display: block;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .government {
        grid-column: span 4;
    }

    .aviation {
        grid-column: span 2;
    }

    .education {
        grid-column: span 2;
    }

    .telecom {
        grid-column: span 2;
    }

    .commercial {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact .section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.contact-grid::after {
    content: '';
    position: absolute;
    left: calc(33.33% - 1px);
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent,
        #e2e8f0 10%,
        #e2e8f0 90%,
        transparent
    );
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid::after {
        content: none;
    }
}

.contact-info {
    padding-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #e53e3e;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.contact-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1f36;
}

.contact-text p, 
.contact-text a {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    text-decoration: none;
}

.contact-text a:hover {
    color: #e53e3e;
}

.contact-form {
    padding: 20px 0 20px 60px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1f36;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    background-color: #fff;
    border-color: #cbd5e1;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
    background-color: #fff;
}

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

/* Multi-select styles */
.services-select {
    position: relative;
}

.services-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.services-input:hover {
    background-color: #fff;
    border-color: #cbd5e1;
}

.services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.services-dropdown.active {
    display: block;
}

.services-search {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.services-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    background-color: #f8fafc;
}

.services-options {
    max-height: 240px;
    overflow-y: auto;
    padding: 10px 0;
}

.service-option {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.service-option:hover {
    background: #f1f5f9;
}

.service-option input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
}

.selected-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    margin-top: 8px;
}

.selected-service {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
}

.remove-service {
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-service:hover {
    color: #e53e3e;
    background-color: #fee2e2;
}

.submit-button {
    background: #e53e3e;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 16px;
}

.submit-button:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-top: 0;
    }
    
    .contact-form {
        padding: 20px 0;
    }

    .container {
        padding: 0 15px;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes the logo white in the footer */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 20px;
    }

    
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-img {
        height: 36px;
        width: auto;
    }
}

/* Remove all animation classes */
.fade-up,
.fade-up.visible,
.delay-100,
.delay-200,
.delay-300,
.delay-400,
.delay-500 {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Simple Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.is-visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Delay classes for staggered animations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
