/* Custom CSS for Capital Land Investments */

:root {
    --primary-color: #FF8C00; /* Orange */
    --secondary-color: #000000; /* Black */
    --accent-color: #FFFFFF; /* White */
    --light-orange: #FFB347;
    --dark-orange: #CC6600;
    --gray-light: #F8F9FA;
    --gray-medium: #6C757D;
    --transition: all 0.3s ease;
}

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

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

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

.navbar-nav .nav-link {
    color: var(--accent-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

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

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

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(255,140,0,0.3) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23000" width="1200" height="600"/><g fill="%23FF8C00" opacity="0.1"><polygon points="0,300 300,150 600,300 900,150 1200,300 1200,600 0,600"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(255,140,0,0.2) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-orange) 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,140,0,0.4);
}

.btn-outline-light {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

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

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--light-orange));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.text-left .section-title::after {
    left: 0;
    transform: none;
}

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

/* Location Cards */
.location-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255,140,0,0.2);
}

.location-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-card h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.location-card p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Service Cards */
.service-card {
    background: var(--accent-color);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255,140,0,0.2);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.service-card h4 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Sector Cards */
.sector-card {
    background: var(--accent-color);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
    border: 2px solid transparent;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255,140,0,0.2);
    border-color: var(--primary-color);
}

.sector-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.sector-card:hover .sector-icon {
    transform: scale(1.1) rotate(5deg);
}

.sector-card h4 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.sector-card p {
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Feature Items */
.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255,140,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.feature-item h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

/* Contact Cards */
.contact-card {
    text-align: center;
    padding: 2rem;
    background: var(--accent-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
}

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

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

/* Paymaster Services */
.paymaster-intro {
    padding: 2rem;
    background: var(--accent-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.paymaster-benefits {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,140,0,0.1) 0%, rgba(255,140,0,0.05) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    height: 100%;
}

.paymaster-benefits h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.paymaster-benefits h5:first-child {
    margin-top: 0;
}

.paymaster-benefits i {
    margin-right: 0.5rem;
}

.paymaster-service-card {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.paymaster-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255,140,0,0.2);
    border-color: var(--primary-color);
}

.paymaster-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

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

.paymaster-service-card h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.paymaster-service-card p {
    color: var(--gray-medium);
    line-height: 1.6;
}

.paymaster-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--accent-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.paymaster-cta h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Forms */
.form-control {
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255,140,0,0.25);
}

.form-select {
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255,140,0,0.25);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--accent-color);
}

.footer h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    color: #CCCCCC;
    line-height: 1.8;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 15px;
}

.footer-divider {
    border-color: #444444;
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: #CCCCCC;
    margin: 0;
}

/* Background Variations */
.bg-light {
    background-color: #FAFAFA !important;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--light-orange));
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .service-card,
    .sector-card,
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .location-card {
        padding: 1.5rem 0.5rem;
    }
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border-left: 4px solid #28A745;
}

.alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
    border-left: 4px solid #DC3545;
}

/* Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

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