/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Logo Based Premium Finance Theme */

    --primary: #0b3d2e;          /* Dark Green (Logo KS text) */
    --primary-dark: #06291f;     /* Deeper Green */
    --primary-light: #145c46;    /* Soft Green */

    --secondary: #c7922e;        /* Golden Bar Color */
    --secondary-dark: #a9781f;   /* Dark Gold */
    --secondary-light: #e2b65c;  /* Light Gold */

    --accent: #d4af37;           /* Premium Gold Accent */
    --accent-dark: #b8962e;

    --light-bg: #f4f8f6;         /* Green-tinted light background */
    --gray: #5f6f68;
    --light-gray: #e9efec;
    --white: #ffffff;

    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(11, 61, 46, 0.15);
    --transition: all 0.3s ease;
}


body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary), transparent);
    bottom: -10px;
    left: 0;
    border-radius: 3px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
}

/* Navigation - Premium Redesign */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    color: var(--secondary);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo i {
    margin-right: 12px;
    color: var(--secondary);
    font-size: 2.5rem;
    transition: var(--transition);
}

.logo span {
    color: var(--secondary);
    position: relative;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover i {
    transform: rotate(-10deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 32px;
    position: relative;
}

.nav-menu a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover:after, .nav-menu a.active:after {
    width: 100%;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary);
}

.cta-nav {
    background: linear-gradient(135deg, #c7922e, #0b3d2e);
    padding: 12px 28px !important;
    border-radius: 50px;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
    transition: var(--transition) !important;
}

.cta-nav:after {
    display: none;
}

.cta-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.4);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--secondary);
}



/* Footer - Premium Redesign */
footer {
    background: linear-gradient(135deg, #0d1429 0%, #1a1f36 100%);
    color: #ddd;
    padding: 100px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    top: 0;
    left: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-col p {
    color: #aaa;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info i {
    margin-right: 15px;
    color: var(--secondary);
    width: 20px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.newsletter-form {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border: none;
    padding: 16px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.95rem;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateY(-10deg);
    }
    50% {
        transform: translateY(-20px) rotateY(-10deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        right: 0;
        display: flex;
    }
    
    .nav-menu li {
        margin: 0 0 25px 0;
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        animation: slideIn 0.3s forwards;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu li:nth-child(7) { animation-delay: 0.4s; }
    
    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu a:after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active i:before {
        content: '\f00d';
    }
    
    .hero-image img {
        transform: perspective(1000px) rotateY(0deg);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}





