:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --bg-light: #F1F7FF;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none; /* Disable text selection */
    -webkit-user-select: none; /* For Safari */
    -moz-user-select: none; /* For Firefox */
    -ms-user-select: none; /* For Internet Explorer/Edge */
}

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

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.back-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-4px);
}

.back-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtext-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 16px;
    margin: 0 auto 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtext-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.5);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.6);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 600;
}

.consult-btn {
    position: relative;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 20px 20px 20px 4px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.consult-btn:hover {
    transform: scale(1.05);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.6;
    border-left: 1px solid #E5E7EB;
    padding-left: 10px;
}

.service-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.service-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 600px;
}

/* Justify service card descriptions for better readability */
.service-info p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.btn-link {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-link:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    padding-right: 32px;
}

.service-icon {
    width: 180px;
    height: 180px;
    background: var(--white);
    border: 1px solid #F3F4F6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.service-icon img, .service-icon svg {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

/* Profile Section */
.profile {
    padding: 100px 0;
    background: var(--white);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.profile-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 1/1.2;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
}

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

.profile-image-container {
    text-align: center;
}

.profile-qualification {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    opacity: 0.95;
    line-height: 1.2;
}

.profile-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.profile-bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.stats-container {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: var(--primary-light);
    padding: 24px;
    border-radius: 24px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon img {
    width: 40px;
    height: 40px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Footer */
.footer {
    background: #6D7F94;
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.footer-logo img {
    width: 40px;
    filter: brightness(0) invert(1);
}

.email-link {
    background: var(--white);
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    opacity: 0.7;
    max-width: 350px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.address-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
}

.address-box p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.address-box a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .service-card {
        grid-template-columns: 1fr;
    }
    .service-label {
        writing-mode: horizontal-tb;
        transform: none;
        border-left: none;
        border-bottom: 1px solid #E5E7EB;
        padding-bottom: 10px;
    }
    .service-body {
        flex-direction: column;
        align-items: flex-start;
    }
    .service-icon {
        width: 100%;
        height: 120px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        flex-direction: column;
    }
}
