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

:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #2196f3;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1a237e, #0d47a1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 30px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--white);
}

.nav-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .navbar {
        background: var(--white);
    }
    
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.95), rgba(13, 71, 161, 0.95));
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85), rgba(13, 71, 161, 0.85));
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
    background: #1976d2;
}

/* Services Section */
.services, .expertise {
    position: relative;
    z-index: 1;
    overflow: visible;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services::before, .expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 2;
    opacity: 1;
}

.services h2 {
    color: #1a237e;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #1a237e, #2196f3);
    border-radius: 2px;
    z-index: 2;
}

.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

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

.service-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1a237e, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    color: #1a237e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.service-features li {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
    color: #555;
    position: relative;
    z-index: 2;
}

.service-features li i {
    font-size: 1rem;
    color: #4CAF50;
    margin-right: 0.8rem;
    margin-bottom: 0;
    background: none;
    -webkit-text-fill-color: currentColor;
}

/* Expertise Section */
.expertise .container {
    position: relative;
    z-index: 2;
    opacity: 1;
}

.expertise h2 {
    color: #1a237e;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.expertise h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #2196f3, #1a237e);
    border-radius: 2px;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.expertise-text {
    padding-right: 2rem;
}

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

.highlight-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(26, 35, 126, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, #2196f3, #1a237e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    color: #1a237e;
    margin-bottom: 1rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.expertise-list li {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: #555;
    font-size: 1.1rem;
}

.expertise-list i {
    color: #4CAF50;
    margin-right: 1rem;
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #1a237e, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

.expertise-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.expertise-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.expertise-image:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.03), rgba(13, 71, 161, 0.03));
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-item i {
        font-size: 1.5rem;
    }
    
    .info-content h4 {
        font-size: 1rem;
    }
    
    .info-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

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

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

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

/* Scroll Animations */
.scroll-animation {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .expertise-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .expertise-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a {
        display: block;
    }

    .social-links {
        justify-content: center;
    }

    .expertise-highlights {
        grid-template-columns: 1fr;
    }

    .expertise-stats {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        margin-bottom: 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1976d2;
}

/* Details Section */
.details {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.02), rgba(13, 71, 161, 0.02));
}

.details h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 70px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

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

.details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.details-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.details-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.detail-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.detail-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.detail-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-card ul li {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.detail-card ul li::before {
    content: '•';
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.details-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.details-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    z-index: -1;
}

.details-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.details-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Details Section */
@media (max-width: 1200px) {
    .details-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .details-content {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .details {
        padding: 80px 0;
    }
    
    .details h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
    
    .details-text h3 {
        font-size: 1.8rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .detail-card i {
        font-size: 1.8rem;
    }
    
    .detail-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .details h2 {
        font-size: 2rem;
    }
    
    .details-text h3 {
        font-size: 1.5rem;
    }
    
    .details-text p {
        font-size: 1rem;
    }
    
    .detail-card {
        padding: 15px;
    }
}

/* Remove any transform or opacity transitions from base elements */
.services,
.services .container,
.services-grid,
.service-card,
.detail-card,
.expertise,
.expertise .container,
.expertise-content,
.highlight-item {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Only apply hover animations */
.service-card:hover {
    transform: translateY(-10px) !important;
}

.highlight-item:hover {
    transform: translateY(-5px) !important;
}

/* Ensure content is always visible */
.services *,
.expertise * {
    visibility: visible !important;
    opacity: 1 !important;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: grid;
    gap: 15px;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(33, 150, 243, 0.05);
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: none;
    -webkit-text-fill-color: currentColor;
    margin-top: 3px;
}

.dropdown-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.dropdown-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: center;
        padding: 15px 0;
    }

    .dropdown-item {
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin: 0 20px;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }
} 