/* Skyarc Capital - Custom Styles */

:root {
    --primary-navy: #0A2540;
    --accent-teal: #2EC4B6;
    --light-gray: #F5F7FA;
    --slate-text: #1F2937;
    --success-green: #28a745;
    --warning-orange: #fd7e14;
    --danger-red: #dc3545;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--slate-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    background-color: var(--primary-navy) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

/* Brand logo next to text */
.navbar-brand img.brand-logo {
    height: 28px;
    width: auto;
    margin-right: 10px;
    border-radius: 4px;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-teal) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a365d 100%);
    color: white;
    padding: 120px 0 80px;
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

/* Hero image/logo container and image responsiveness */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    max-width: 420px; /* prevents oversized logo on large screens */
    height: auto;
    max-height: 50vh; /* prevents taking full viewport height */
    object-fit: contain;
}

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

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Background Colors */
.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.bg-accent {
    background-color: var(--accent-teal) !important;
}

.text-accent {
    color: var(--accent-teal) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.service-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), #26a69a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(46, 196, 182, 0.3);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy), #1a365d);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a365d, var(--primary-navy));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
}

.btn-outline-primary:hover {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Calculator */
.calculator-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.result-box {
    background: linear-gradient(135deg, var(--accent-teal), #26a69a);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    display: none;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 10px 0;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 30px 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), #26a69a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-header {
    background: #f8f9fa;
    border: none;
    padding: 20px;
    font-weight: 600;
    color: var(--primary-navy);
    text-align: left;
    width: 100%;
}

.faq-header:not(.collapsed) {
    background: var(--accent-teal);
    color: white;
}

.faq-body {
    padding: 20px;
    background: white;
    color: var(--slate-text);
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-teal), #26a69a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 3rem;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.call-btn {
    background: var(--primary-navy);
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: white;
    padding: 60px 0 30px;
}

.footer h5, .footer h6 {
    color: white;
    margin-bottom: 20px;
}

.footer a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.25);
}

.form-check-input:checked {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
}

/* Status Badges */
.status-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
}

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

.blog-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    /* Tighter constraints for small screens */
    .hero-logo {
        max-width: 70vw;
        max-height: 35vh;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .result-amount {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .floating-buttons, .btn {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
