/* CSS Variables for Brand Customization */
:root {
    --primary-color: #142654; /* Dark blue from logo */
    --secondary-color: #ebbd49; /* Golden yellow from logo */
    --accent-color: #ebbd49; /* Golden yellow */
    --text-color: #142654;
    --bg-color: #fcfcf7; /* Off-white from logo */
    --section-bg: #f0f0f0;
    --shadow: rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 38, 84, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.02);
}

.logo img {
    height: 60px;
    width: auto;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-links li {
    margin-left: 0;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active::after {
    width: 60%;
}

.cta-button {
    margin-left: 1.5rem;
}

.cta-button .btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.cta-button .btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(235, 189, 73, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    margin-left: auto;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu .cta-button {
    margin-left: 2rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        position: static;
    }

    nav {
        padding: 1rem;
        justify-content: space-between;
        position: relative;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .hamburger {
        display: flex;
        align-items: center;
        align-self: flex-start;
        color: white;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 38, 84, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-links li {
        margin: 0.25rem 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        text-align: center;
        border-radius: 0;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-menu .cta-button {
        margin: 1.5rem 0 0 0;
        text-align: center;
        width: 100%;
    }

    .nav-menu .cta-button .btn {
        width: calc(100% - 4rem);
        justify-content: center;
        padding: 1rem;
    }
}

/* Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
#hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a1628 50%, var(--primary-color) 100%);
}

/* Animated background */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-animation::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(235, 189, 73, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(235, 189, 73, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(235, 189, 73, 0.08) 0%, transparent 40%);
    animation: bgMove 15s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
}

/* Typing animation */
.typing-effect {
    min-height: 3.5rem;
}

.cursor {
    display: inline-block;
    color: var(--secondary-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.visual-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(235, 189, 73, 0.2), rgba(235, 189, 73, 0.05));
    position: absolute;
    animation: pulseCircle 4s ease-in-out infinite;
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.visual-icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #d4a63a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(235, 189, 73, 0.3);
    animation: floatIcon 3s ease-in-out infinite;
    z-index: 1;
}

.visual-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    opacity: 0.8;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#jumbotron {
    min-height: 50vh;
    background-color: var(--bg-color);
    padding: 60px 0;
}

/* Sections */
section {
    padding: 120px 0;
}

section:nth-child(even) {
    background-color: var(--section-bg);
}

section h2 {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

/* About */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background-color: transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature:hover i {
    transform: scale(1.05);
    color: var(--accent-color);
}

.feature h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service {
    text-align: center;
    padding: 3rem 2rem;
    background-color: transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service:nth-child(1) { animation-delay: 0.1s; }
.service:nth-child(2) { animation-delay: 0.2s; }
.service:nth-child(3) { animation-delay: 0.3s; }
.service:nth-child(4) { animation-delay: 0.4s; }
.service:nth-child(5) { animation-delay: 0.5s; }
.service:nth-child(6) { animation-delay: 0.6s; }

.service:hover {
    transform: translateY(-10px);
}

.service i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}



/* Portfolio Section */
#portfolio {
    background: var(--bg-color);
    padding: 100px 0;
}

.portfolio-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.portfolio-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--primary-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: transparent;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial:nth-child(1) { animation-delay: 0.2s; }
.testimonial:nth-child(2) { animation-delay: 0.4s; }
.testimonial:nth-child(3) { animation-delay: 0.6s; }

.testimonial:hover {
    transform: translateY(-10px);
    border-left-color: var(--accent-color);
}

.testimonial p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial cite {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 100px 0 60px;
}

footer h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.contact-text {
    flex: 1;
}

.contact-form {
    display: grid;
    gap: 1rem;
    flex: 1;
    margin: 0;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.contact-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}

.social-links {
    text-align: center;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.footer-links {
    text-align: center;
    margin-top: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin: 1rem 0;
    }

    .nav-links li {
        margin: 0 1rem;
    }

    #hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        min-height: auto;
        justify-content: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 0;
        max-width: 100%;
    }

    .hero-content h2 {
        font-size: 2rem;
        min-height: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .visual-circle {
        display: none;
    }

    .visual-icon {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .about-features,
    .services-grid,


    .jumbotron-content {
        flex-direction: column;
        gap: 3rem;
    }

    .jumbotron-text h2 {
        font-size: 2rem;
    }

    .jumbotron-text p {
        font-size: 1rem;
    }

    section {
        padding: 80px 0;
    }

    section h2 {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }

    .feature,
    .service,


    .feature i,
    .service i {
        font-size: 3rem;
    }

    .service-circle {
        width: 120px;
        height: 120px;
    }

    .service-circle i {
        font-size: 1.5rem;
    }

    .service-circle h4 {
        font-size: 1rem;
    }

    .service-circle p {
        font-size: 0.8rem;
    }

    footer {
        padding: 80px 0 40px;
    }

    footer h2 {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .testimonial {
        padding: 2rem 1rem;
    }

    .portfolio-card {
        margin-bottom: 2rem;
    }
}

/* Chatbot */
#chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

#chatbot-button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    color: white;
    font-size: 1.5rem;
}

#chatbot-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

#chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#chatbot-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

#chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.bot-message {
    background-color: var(--section-bg);
    align-self: flex-start;
}

.user-message {
    background-color: var(--primary-color);
    color: white;
    align-self: flex-end;
}

#chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--section-bg);
}

#chatbot-text {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--section-bg);
    border-radius: var(--border-radius);
    font-family: inherit;
}

#chatbot-send {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-left: 0.5rem;
    transition: var(--transition);
}

#chatbot-send:hover {
    background-color: var(--secondary-color);
}

/* Portfolio */
#portfolio .portfolio-item {
    background-color: transparent;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

#portfolio .portfolio-item:nth-child(1) { animation-delay: 0.2s; }
#portfolio .portfolio-item:nth-child(2) { animation-delay: 0.4s; }
#portfolio .portfolio-item:nth-child(3) { animation-delay: 0.6s; }

#portfolio .portfolio-item:hover {
    transform: translateY(-10px);
}

/* Team */
#team h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#team p {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Service Circles */
.service-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.service-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-circle i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-circle h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-circle p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #chatbot-widget {
        bottom: 10px;
        right: 10px;
    }
    #chatbot-window {
        width: calc(100vw - 20px);
        height: 400px;
        bottom: 80px;
    }
}