/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(49, 130, 206, 0.1);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Improve touch targets on mobile */
@media (max-width: 767px) {

    .btn,
    .nav-link,
    .social-links a {
        padding: 0.75rem 1rem;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .expertise-item {
        border-radius: 15px;
    }
}

/* Hero Shape */
.hero-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    border-radius: 30px;
    transform: rotate(-3deg);
    z-index: -1;
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .btn-light,
    .btn-outline-light {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}

/* Transform Section Styles */
.transform-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
}

.transform-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .transform-btn {
        min-width: 130px;
        margin: 0.5rem 0;
    }
}

/* About Image Styles */
.about-image-container {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-image-container img {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-content {
    padding-left: 2rem;
    border-left: 3px solid var(--gray-200);
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        border-left: none;
        margin-top: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .display-1 {
        font-size: 3.5rem;
    }

    .fs-mobile-1 {
        font-size: calc(2.5rem + 1.5vw) !important;
    }

    .fs-mobile-2 {
        font-size: calc(2rem + 1vw) !important;
    }

    .fs-mobile-4 {
        font-size: 1.1rem !important;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }

    .service-item {
        padding: 2rem 1rem;
    }

    .w-mobile-100 {
        width: 100%;
    }

    .gap-4 {
        gap: 1rem !important;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .social-links {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .expertise-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.about-image-shape {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    border-radius: 30px;
    transform: rotate(3deg) scale(1.05);
    z-index: 1;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: linear-gradient(45deg, var(--gray-200) 0%, transparent 100%);
    border-radius: 35px;
    z-index: 0;
}

.about-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    opacity: 0.2;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-blue {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.section-blue .btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.section-blue .btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.section-blue .social-links a {
    color: var(--accent-color);
}

.section-blue .text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.section-light {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--accent-color);
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-blue .section-title::after {
    background: var(--accent-color);
}

/* Global Styles */
:root {
    /* Main Colors */
    --primary-color: #4F84C4;
    /* Your brand blue */
    --primary-dark: #3A638F;
    /* Darker shade of primary for hover states */
    --primary-light: #7DA7DB;
    /* Lighter shade for highlights */
    --secondary-color: #2C4C72;
    /* Darker blue for contrast */

    /* Background Colors */
    --bg-primary: var(--primary-color);
    --bg-light: #F5F8FB;
    /* Light blue-tinted background */
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

    /* Text Colors */
    --text-color: #2D3748;
    /* Main text color */
    --text-light: #718096;
    /* Secondary text color */
    --text-white: #FFFFFF;

    /* Accent Colors */
    --accent-color: #FFB74D;
    /* Orange accent for CTAs */
    --accent-hover: #FFA726;
    /* Darker orange for hover */

    /* Border Colors */
    --border-color: #E2E8F0;
    /* Light gray for borders */
    --border-primary: var(--primary-color);
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--gray-100);
    line-height: 1.6;
}

/* Navigation - Static White Background */
.navbar {
    background: white !important;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--primary) !important;
    padding: 0.5rem 1.5rem !important;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--gray-200) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 1.25rem;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item:last-child::after {
    display: none;
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    border-top: 1px solid #eee;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}

/* Expertise Section */
.expertise-item {
    text-align: center;
    padding: 30px;
}

.expertise-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}