/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

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

/* Header Styles */
.header {
    background: #1a2332;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background: #f8fafc;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-card,
.vision-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mv-icon svg {
    width: 30px;
    height: 30px;
}

.mission-card .mv-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.vision-card .mv-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.mission-card p,
.vision-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

/* Card Color Variations */
.project-card.intelliassest .card-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}
.project-card.intelliassest::before {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.project-card.srm .card-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
}
.project-card.srm::before {
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
}

.project-card.opsiq .card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}
.project-card.opsiq::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.project-card.ews .card-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}
.project-card.ews::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.project-card.batchgenius .card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}
.project-card.batchgenius::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.project-card.traceiq .card-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}
.project-card.traceiq::before {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.project-card.pqr .card-icon {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}
.project-card.pqr::before {
    background: linear-gradient(90deg, #ec4899, #db2777);
}

.project-card.auditarmour .card-icon {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
}
.project-card.auditarmour::before {
    background: linear-gradient(90deg, #14b8a6, #0d9488);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.card-full-name {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 15px;
}

.card-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.card-footer {
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.card-link {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link .arrow {
    transition: transform 0.3s ease;
}

.project-card:hover .card-link .arrow {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

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

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.about-content > p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.feature p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: #1e293b;
    padding: 60px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.contact-section > .container > p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: #1a2332;
    padding: 60px 0 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.confidentiality-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.confidentiality-link:hover {
    opacity: 0.7;
}

.scroll-top {
    position: absolute;
    right: 40px;
    bottom: 80px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

    .hero {
        margin-top: 120px;
        min-height: 300px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section-header h2,
    .about-content h2 {
        font-size: 1.75rem;
    }

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

    .mission-card,
    .vision-card {
        padding: 30px;
    }

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

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .scroll-top {
        right: 20px;
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .project-card {
        padding: 20px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

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

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

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

.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.15s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.25s; }
.project-card:nth-child(5) { animation-delay: 0.3s; }
.project-card:nth-child(6) { animation-delay: 0.35s; }
.project-card:nth-child(7) { animation-delay: 0.4s; }
.project-card:nth-child(8) { animation-delay: 0.45s; }

/* 4K Display Styles */
@media (min-width: 2000px) {
    body {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 100px;
    }

    .header .container {
        padding: 20px 100px;
    }

    .logo {
        font-size: 1.75rem;
    }

    .logo-img {
        height: 60px;
    }

    .nav a {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 3.5rem;
    }

    .section-header p {
        font-size: 1.5rem;
    }

    .projects-grid {
        gap: 40px;
    }

    .project-card {
        padding: 40px;
        border-radius: 20px;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        border-radius: 18px;
        margin-bottom: 25px;
    }

    .card-icon svg {
        width: 40px;
        height: 40px;
    }

    .project-card h3 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .card-full-name {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .card-description {
        font-size: 1.2rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .card-link {
        font-size: 1.2rem;
    }

    .mission-card,
    .vision-card {
        padding: 50px;
        border-radius: 20px;
    }

    .mv-icon {
        width: 80px;
        height: 80px;
        border-radius: 18px;
        margin-bottom: 25px;
    }

    .mv-icon svg {
        width: 40px;
        height: 40px;
    }

    .mission-card h3,
    .vision-card h3 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .mission-card p,
    .vision-card p {
        font-size: 1.25rem;
        line-height: 1.8;
    }

    .contact-section h2 {
        font-size: 3rem;
    }

    .contact-section > .container > p {
        font-size: 1.35rem;
        margin-bottom: 40px;
    }

    .contact-btn {
        font-size: 1.2rem;
        padding: 20px 35px;
        border-radius: 12px;
    }

    .contact-btn svg {
        width: 26px;
        height: 26px;
    }

    .footer {
        padding: 80px 0 0;
    }

    .footer-logo-img {
        height: 55px;
    }

    .footer-column h4 {
        font-size: 1.25rem;
        margin-bottom: 25px;
    }

    .footer-column ul li {
        margin-bottom: 15px;
    }

    .footer-column ul li a {
        font-size: 1.1rem;
    }

    .footer-bottom p,
    .confidentiality-link {
        font-size: 1.05rem;
    }

    .social-links a svg {
        width: 26px;
        height: 26px;
    }

    .scroll-top {
        width: 55px;
        height: 55px;
    }

    .scroll-top svg {
        width: 26px;
        height: 26px;
    }
}
