:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #d69e2e;
    --accent-light: #ecc94b;
    --light: #f7fafc;
    --dark: #2d3748;
    --gray: #a0aec0;
    --gray-light: #edf2f7;
    --success: #38a169;
    --warning: #dd6b20;
    --danger: #e53e3e;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #f9fafb;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);    
}

.btn:hover {
    background: var(--accent-light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

.btn-primary {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.btn-primary:hover {
    background: #2a4a7a;
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

/* Navigation - Fixed Logo Issues */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 80px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px; /* Increased from 40px for better visibility */
    width: auto; /* Maintain aspect ratio */
    margin-right: 12px;
    transition: all 0.3s ease;
}

.nav-logo span {
    color: var(--accent);
}

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

.nav-link {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-left: 1rem;
}

.nav-cta:hover {
    background: var(--accent-light);
    color: var(--primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above other elements */
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%), url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    padding: 5rem 0;
    background: white;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Specialized Approach */
.specialized-approach {
    background: var(--gray-light);
    padding: 5rem 0;
}

.approach-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.approach-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.approach-list {
    list-style: none;
    margin-top: 1.5rem;
}

.approach-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.approach-list i {
    color: var(--accent);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.approach-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    height: 400px;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 5px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
    background: var(--primary);
    color: white;
    font-size: 2rem;
    padding: 1.5rem;
    text-align: center;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--gray-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Integration Section */
.integration {
    padding: 5rem 0;
    background: white;
}

.integration-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.software-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.software-item {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.software-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.software-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3, .footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section h3 span {
    color: var(--accent);
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger menu animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .approach-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Logo adjustments for mobile */
    .nav-logo img {
        height: 35px; /* Slightly smaller for mobile */
        margin-right: 8px;
    }
    
    .nav-logo a {
        font-size: 1.5rem; /* Smaller font for mobile */
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 0.8rem 0;
        height: 70px; /* Fixed height for mobile */
    }
    
    /* Menu adjustments */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background: var(--primary);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        align-items: center;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Page header adjustments */
    .page-header {
        padding: 7rem 1.5rem 3rem;
        margin-top: 70px; /* Adjusted to match navbar height */
    }
    
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    /* Further logo size reduction for very small screens */
    .nav-logo img {
        height: 30px;
        margin-right: 6px;
    }
    
    .nav-logo a {
        font-size: 1.3rem;
    }
}
/* Mobile responsive adjustments for logo */
@media (max-width: 768px) {
    .nav-logo a {
        font-size: 1.2rem; /* Reduced from 1.8rem */
    }
    
    .nav-logo img {
        height: 40px; /* Slightly smaller logo on mobile */
        margin-right: 8px; /* Reduced spacing */
    }
}

/* Desktop styles for logo */
@media (min-width: 769px) {
    .nav-logo a {
        font-size: 1.8rem; /* Original size */
    }
    
    .nav-logo img {
        height: 50px; /* Original size */
        margin-right: 12px; /* Original spacing */
    }
}