/* Variables */
:root {
    --primary-color: #1E3A8A;    /* Deep Blue */
    --secondary-color: #10B981;  /* Emerald Green */
    --accent-color: #FDF2F8;     /* Light Pink */
    --text-color: #1F2937;       /* Dark Gray */
    --light-text: #6B7280;       /* Gray */
    --background: #FFFFFF;
    --section-bg: #F8FAFC;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --gradient-primary: linear-gradient(90deg, #1E3A8A 0%, #10B981 100%);
    --gradient-hover: linear-gradient(90deg, #10B981 0%, #1E3A8A 100%);
    --gradient-bg: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    background-color: var(--background);
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--background);
}

/* Fix for AOS white flash */
[data-aos] {
    visibility: hidden;
}

[data-aos].aos-animate {
    visibility: visible;
}

/* Image loading styles */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* Section backgrounds */
section {
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    background-color: inherit;
}

/* Fix for mobile overflow */
.container {
    overflow: hidden;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title .subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Header Styles */
.header-area {
    background: var(--background);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
    background: var(--background);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text {
    color: var(--text-color);
}

.brand-highlight {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), #2563EB);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-outline:hover:before {
    width: 100%;
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--gradient-bg);
    position: relative;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-grid {
    margin-top: 50px;
}

.service-card-new {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1E3A8A 0%, #10B981 100%);
}

.service-icon {
    margin-bottom: 25px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 28px;
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.service-card-new:hover .service-icon i {
    color: #10B981;
    transform: scale(1.1);
}

.service-content h3 {
    color: #1E3A8A;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #334155;
    font-size: 15px;
}

.service-features ul li i {
    color: #10B981;
    margin-right: 10px;
    font-size: 16px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: linear-gradient(90deg, #1E3A8A 0%, #10B981 100%);
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.service-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-btn:hover {
    background: linear-gradient(90deg, #10B981 0%, #1E3A8A 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.expertise-card {
    border: none;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.expertise-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    margin-bottom: 20px;
}

.expertise-card i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.contact-info {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 0;
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .about-image {
        margin-bottom: 3rem;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-card,
    .expertise-card {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure content is visible without animations on mobile */
@media screen and (max-width: 768px) {
    [data-aos] {
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Ensure sections are always visible */
section {
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    background-color: inherit;
}

/* Base visibility fixes */
.hero-section,
.about-section,
.services-section,
.expertise-section,
.contact-section {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Content visibility fixes */
.hero-content,
.about-content,
.service-card,
.expertise-card,
.contact-info,
.contact-form {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Extended FAQ Styles */
.faq-extended {
    padding: 2rem;
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--background) 0%, var(--accent-color) 15%);
    border-radius: 20px;
}

.faq-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.1);
}

.faq-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), #2563EB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.faq-card .icon-wrapper i {
    color: white;
    font-size: 1.5rem;
}

.faq-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.faq-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.faq-card ul.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.faq-card ul.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.faq-card ul.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

.faq-card .highlight-box {
    background: rgba(30, 58, 138, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.faq-card .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.faq-card .tag {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.faq-card .read-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-card .read-more-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-card .read-more-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .faq-extended {
        padding: 1rem;
    }
    
    .faq-card {
        padding: 1.5rem;
    }
} 