/* Variables */
:root {
    --primary-color: #4A90E2;    /* Professional blue */
    --secondary-color: #66B2B2;  /* Soft teal */
    --accent-color: #F5E6D3;     /* Warm cream */
    --text-color: #333333;
    --light-text: #666666;
    --background: #FFFFFF;
    --section-bg: #F9F9F9;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

/* 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: linear-gradient(135deg, var(--background) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.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-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.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(--section-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(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 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: 100px 0;
    background: var(--background);
}

.service-card {
    padding: 2.5rem;
    text-align: center;
    background: var(--background);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background: var(--section-bg);
}

.expertise-card {
    padding: 2.5rem;
    background: var(--background);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.expertise-card .icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.expertise-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--background);
}

.contact-info {
    padding: 2.5rem;
    background: var(--section-bg);
    border-radius: 20px;
}

.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(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-form {
    padding: 2.5rem;
    background: var(--section-bg);
    border-radius: 20px;
}

.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: none;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background: var(--text-color);
    color: var(--background);
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--background);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.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(74, 144, 226, 0.1);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.1);
}

.faq-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    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(74, 144, 226, 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(74, 144, 226, 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;
    }
} 