/* SwiftGate Technologies - Custom Styles */

:root {
    --sg-primary: #1a365d;
    --sg-primary-light: #2c5282;
    --sg-secondary: #2d3748;
    --sg-accent: #38b2ac;
    --sg-accent-light: #4fd1c5;
    --sg-dark: #1a202c;
    --sg-light: #f7fafc;
    --sg-gray: #718096;
    --sg-success: #48bb78;
    --sg-warning: #ed8936;
    --sg-gradient: linear-gradient(135deg, var(--sg-primary) 0%, var(--sg-primary-light) 100%);
}

/* Reset ColorAdmin admin styles */
.sg-body {
    background: var(--sg-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.sg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sg-navbar {
    background: var(--sg-gradient);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sg-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.sg-brand i {
    color: var(--sg-accent);
}

.sg-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.sg-navbar .nav-link:hover,
.sg-navbar .nav-link.active {
    color: #fff !important;
}

.sg-navbar .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
}

.sg-navbar .dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.2s;
}

.sg-navbar .dropdown-item:hover {
    background: var(--sg-light);
    color: var(--sg-primary);
}

.sg-cta-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.8);
}

.sg-cta-btn:hover {
    background: #fff;
    color: var(--sg-primary);
    border-color: #fff;
}

/* Hero Section */
.sg-hero {
    background: var(--sg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.sg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    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");
    opacity: 0.5;
}

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

.sg-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sg-hero .lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.sg-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--sg-accent-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.sg-hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.sg-hero-stat {
    text-align: center;
}

.sg-hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sg-accent-light);
    margin-bottom: 0.25rem;
}

.sg-hero-stat p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Buttons */
.btn-sg-primary {
    background: var(--sg-accent);
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sg-primary:hover {
    background: var(--sg-accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 178, 172, 0.3);
}

.btn-sg-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sg-outline:hover {
    background: #fff;
    color: var(--sg-primary);
}

/* Sections */
.sg-section {
    padding: 100px 0;
}

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

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

.sg-section-header p {
    font-size: 1.1rem;
    color: var(--sg-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.sg-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.sg-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--sg-accent);
}

.sg-service-icon {
    width: 70px;
    height: 70px;
    background: var(--sg-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sg-service-icon i {
    font-size: 2rem;
    color: #fff;
}

.sg-service-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sg-dark);
    margin-bottom: 0.5rem;
}

.sg-service-card p {
    color: var(--sg-gray);
    margin-bottom: 1.5rem;
}

.sg-service-card .sg-link {
    color: var(--sg-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sg-service-card .sg-link:hover {
    color: var(--sg-primary);
}

/* About Section */
.sg-about-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sg-dark);
    margin-bottom: 1.5rem;
}

.sg-about-content p {
    color: var(--sg-gray);
    line-height: 1.8;
}

.sg-expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sg-expertise-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--sg-secondary);
}

.sg-expertise-list li i {
    color: var(--sg-accent);
    font-size: 1.25rem;
}

/* CTA Section */
.sg-cta-section {
    background: var(--sg-gradient);
    padding: 80px 0;
}

.sg-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.sg-cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
.sg-footer {
    background: var(--sg-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.sg-footer-brand h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.sg-footer-brand i {
    color: var(--sg-accent);
}

.sg-footer-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sg-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sg-footer-links li {
    margin-bottom: 0.75rem;
}

.sg-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.sg-footer-links a:hover {
    color: var(--sg-accent);
}

.sg-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sg-footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.sg-footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.sg-footer-contact a:hover {
    color: var(--sg-accent);
}

.sg-footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}

.sg-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.sg-footer-social a {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    margin-left: 1rem;
    transition: color 0.2s;
}

.sg-footer-social a:hover {
    color: var(--sg-accent);
}

/* Page Header */
.sg-page-header {
    background: var(--sg-gradient);
    padding: 150px 0 80px;
    text-align: center;
}

.sg-page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.sg-page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* Contact Form */
.sg-contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.sg-contact-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    transition: all 0.2s;
}

.sg-contact-form .form-control:focus {
    border-color: var(--sg-accent);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.1);
}

.sg-contact-form label {
    font-weight: 600;
    color: var(--sg-secondary);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.sg-contact-info {
    padding: 2rem;
}

.sg-contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sg-contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--sg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sg-contact-info-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.sg-contact-info-item h5 {
    font-weight: 600;
    color: var(--sg-dark);
    margin-bottom: 0.25rem;
}

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

/* Service Detail Page */
.sg-service-detail {
    padding-top: 80px;
}

.sg-feature-list {
    list-style: none;
    padding: 0;
}

.sg-feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sg-feature-list li:last-child {
    border-bottom: none;
}

.sg-feature-list li i {
    color: var(--sg-accent);
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sg-hero h1 {
        font-size: 2.5rem;
    }

    .sg-hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .sg-hero-stat {
        flex: 0 0 auto;
    }

    .sg-navbar .navbar-collapse {
        background: var(--sg-primary);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .sg-cta-btn {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .sg-hero h1 {
        font-size: 2rem;
    }

    .sg-section {
        padding: 60px 0;
    }

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

    .sg-page-header {
        padding: 120px 0 60px;
    }

    .sg-page-header h1 {
        font-size: 2rem;
    }

    .sg-expertise-list {
        grid-template-columns: 1fr;
    }
}
