/* ==================== Custom CSS ==================== */

:root {
    --primary-color: #0066cc;
    --secondary-color: #00cc99;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --success-color: #198754;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

/* Navbar */
.navbar {
    background-color: #000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 20px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Mobile Menu Overlay Fix */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000;
        z-index: 1000;
        padding: 0 1.5rem 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Hero Section */
.hero-section {
    background: #000000;
    color: white;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 4s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: pulse 5s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-image {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    background-color: black;
    padding: 20px;
    border-radius: 12px;
}

.hero-section:hover .hero-image {
    transform: translateY(-10px);
}

/* Section Padding */
/* Mission Section */
#mission {
    background-color: #ffffff !important;
    color: var(--dark-color);
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#mission .section-title {
    color: var(--dark-color);
}

#mission p {
    color: #666;
}

#mission .highlight-box {
    background-color: #f8f9fa;
    color: var(--dark-color);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-3px);
}

.btn-outline-light {
    color: white;
    border-color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Highlight Box */
.highlight-box {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight-box:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

/* Card Styles */
.card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white !important;
}

.card-body {
    padding: 30px;
}

.card .card-title {
    color: var(--dark-color) !important;
    font-weight: 600;
}

.card .card-text {
    color: #333 !important;
}

.card .text-muted {
    color: #666 !important;
}

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

/* Partnership Section */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
}

#partnership .section-title {
    color: black !important;
}

#partnership .lead {
    color: black !important;
}

.partnership-card {
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.partnership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.partnership-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white !important;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.partnership-card:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
}

.partnership-card h4 {
    color: var(--dark-color) !important;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.partnership-card p {
    color: #666 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-card {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.why-card h4 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Product Cards */
.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
}

.product-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.product-card h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.product-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
#contact {
    background: #ffffff !important;
}

.contact-items-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: flex-start;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.map-container iframe {
    transition: all 0.3s ease;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(0, 204, 153, 0.8));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    text-decoration: none;
}

.contact-icon:hover {
    color: white;
    text-decoration: none;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 204, 153, 0.5);
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.social-links a {
    display: inline-flex;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--secondary-color) !important;
}

/* Image Styles */
img {
    background-color: black;
    padding: 10px;
    border-radius: 8px;
}

.img-fluid {
    background-color: black;
    padding: 15px;
    border-radius: 12px;
}
    .section-padding {
        padding: 50px 0;
    }

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

    .hero-section {
        padding: 80px 0;
        min-height: auto;
    }

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

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

    .navbar .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: column;
    }

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

    .contact-items-wrapper {
        flex-wrap: wrap;
    }

    .why-card,
    .product-card,
    .partnership-card {
        margin-bottom: 20px;
    }

    .ps-lg-5 {
        padding-left: 0 !important;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    html {
        scroll-padding-top: 90px;
    }

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

    .section-title::after {
        bottom: -5px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .card-body {
        padding: 20px;
    }

    .partnership-card {
        padding: 25px;
    }

    .partnership-card i {
        font-size: 2rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .product-icon {
        font-size: 2rem;
    }

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

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
}
