/* ==========================================
   Blueprint Projects - Stylesheet
   ========================================== */

/* Color Variables */
:root {
    --primary-blue: #0066b3;
    --secondary-blue: #004a85;
    --dark-blue: #003366;
    --light-blue: #4da6ff;
    --accent-green: #2d8659;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0 2.25rem 0;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 25%, rgba(255, 255, 255, 0) 100%);
    box-shadow: none;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 25%, rgba(255, 255, 255, 0.75) 100%);
    box-shadow: 0 2px 0 var(--primary-blue);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 62.5px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.brand-text {
    color: var(--primary-blue);
    letter-spacing: 2px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--primary-blue);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 1.25rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--secondary-blue);
}

.navbar-toggler {
    border-color: var(--primary-blue);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230066b3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../assets/wallpapper.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.7) 0%, rgba(0, 102, 179, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
}

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

/* Buttons */
.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    overflow: hidden;
    border: none;
}

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

.service-icon-section {
    width: 30%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-content {
    width: 70%;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.2rem 0;
    font-size: 1rem;
    color: var(--dark-gray);
}

.features-list i {
    color: var(--medium-gray);
    margin-right: 0.8rem;
    font-size: 1rem;
}

/* Certifications Section */
.certifications-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    position: relative;
}

.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="10" height="10"/></svg>');
    background-size: 20px 20px;
}

/* Vision & Mission Section */
.vision-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="10" height="10"/></svg>');
    background-size: 20px 20px;
}

.vision-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.vision-section p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Capability Cards */
.capability-card {
    background: var(--white);
    padding: 1.5rem;
    padding-top: 4rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid var(--primary-blue);
}

.capability-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.capability-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 1.5rem auto;
}

.capability-icon i {
    font-size: 2rem;
    color: var(--white);
}

.capability-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cert-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cert-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.cert-card p {
    color: var(--medium-gray);
    margin: 0;
}

/* Contact Section */
.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-item h5 {
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--medium-gray);
    margin: 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
}

.footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: 5px;
        margin-top: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-icon-section {
        width: 100%;
        padding: 2rem;
    }
    
    .service-content {
        width: 100%;
    }
}

/* Utility Classes */
.text-primary-blue {
    color: var(--primary-blue);
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.text-accent-green {
    color: var(--accent-green);
}
