/* Custom CSS for Unique Engineers */

/* Color Variables */
:root {
    --primary-blue: #1e40af;
    --dark-blue: #1e293b;
    --light-blue: #3b82f6;
    --accent-blue: #0ea5e9;
    --primary-light: #93c5fd;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f8fafc;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

.display-4, .display-5 {
    font-weight: 700;
}

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

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Navigation Styles */
.navbar-dark .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-text {
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-light);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-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 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
    z-index: 1;
}

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

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    padding: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.gallery-placeholder i {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder i {
    opacity: 1;
    transform: scale(1.2);
}

/* Service Cards */
.service-card .card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

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

.service-icon {
    text-align: center;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Contact Section */
.contact-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    text-align: center;
}

.contact-icon i {
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

.gst-info {
    background: rgba(30, 64, 175, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    border-radius: 1rem 1rem 0 0;
}

.input-group-text {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.form-control {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0f172a 100%);
}

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

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-light) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-placeholder {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}