/* =================================
   CSS Variables & Core Styles
================================= */
:root {
    --brand-deep: #0F4F86;
    --cta: #1E73FF;
    --cta-dark: #145BCC;
    --pale: #EAF4FF;
    --card-bg: #F6F8FA;
    --border: #E6E9EE;
    --text-dark: #162833;
    --text-light: #FFFFFF;
    --muted: #7B8A99;
    --star: #FFD54F;
    --shadow-normal: rgba(0, 0, 0, 0.06);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    --focus-glow: rgba(30, 115, 255, 0.2);
    --space-8: 8px; --space-12: 12px; --space-16: 16px;
    --space-24: 24px; --space-32: 32px; --space-48: 48px;
    --space-60: 60px; --space-72: 72px; --space-100: 100px;
    --transition-fast: 150ms cubic-bezier(.2,.8,.2,1);
    --transition-card: 200ms cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
    padding-top: 72px;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h2 {
    font-size: 36px;
    margin-bottom: 12px;
    text-align: center;
}

.text-blue { color: var(--cta); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-24);
    width: 100%;
}

*:focus-visible {
    outline: 3px solid var(--focus-glow);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--cta);
    color: var(--text-light);
    padding: 0 20px;
    height: 44px;
    min-width: 100px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--cta-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 115, 255, 0.25);
}

/* =================================
   OUR SERVICE SECTION
================================= */
.service-bg-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 26rem;
    background-color: #d5e9fb;
    z-index: -1;
}

.service-container {
    max-width: 64rem;
    margin: auto;
    padding: 4rem 1.5rem 0.7rem 1.5rem;
    position: relative;
}

.service-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .service-header {
        grid-template-columns: 1fr 1fr;
    }
}

.service-cards-top {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .service-cards-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-card-rect { height: auto; }

.service-card-rect img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
}

.service-card p {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.service-card ul {
    list-style-type: disc;
    list-style-position: inside;
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 1rem;
    text-align: left;
    padding-left: 0.5rem;
    flex-grow: 1;
}

.service-card li { margin-top: 0.5rem; }

.service-card .price {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.service-card .price .amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.service-cards-bottom {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .service-cards-bottom {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-profile {
    grid-column: span 2 / span 2;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .card-profile {
        flex-direction: row;
        align-items: stretch;
        height: 20rem;
    }
}

.card-profile .content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-profile img {
    height: auto;
    width: 100%;
    max-height: 15rem;
    object-fit: contain;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card-profile img {
        height: 100%;
        width: 17rem;
        margin-right: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.card-skill { height: auto; }

@media (min-width: 768px) {
    .card-skill { height: 20rem; }
}

/* =================================
   SUCCESS STORIES SECTION
================================= */
.success-stories {
    background-color: #d5e9fb;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 15px 15px;
    padding: 0 0 var(--space-72) 0;
}

.success-stories__header {
    background-color: #0f4f86;
    padding: var(--space-48) var(--space-24);
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: var(--space-48);
}

.success-stories__header h2 {
    color: white;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 0;
}

.success-stories__header .section-tagline {
    margin: var(--space-12) auto 0;
    color: #e0e0e0;
}

.carousel { padding: 0 50px; position: relative; }
.slides-container { overflow: hidden; }
.slides-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: var(--space-24);
}

.testimonial-card {
    flex-shrink: 0;
    background-color: #fff;
    color: var(--text-dark);
    border-radius: 12px;
    padding: var(--space-24);
    width: calc((100% / 3) - 16px);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.testimonial-card__avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.stars { display: flex; gap: 4px; color: var(--star); }
.stars svg { width: 14px; height: 14px; }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast);
}

.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

.carousel-arrow:hover:not(:disabled) {
    background-color: var(--card-bg);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--brand-deep);
}

.carousel-arrow:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* =================================
   CONTACT SECTION
================================= */
.contact { padding-top: 120px; padding-bottom: 120px; }

.contact-wrapper-final {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.contact-form-final {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #E6E9EE;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 1;
    right: 0;
    width: 85%;
    padding: 80px 120px 80px 300px;
}

.contact-form-title {
    color: var(--cta);
    font-weight: 600;
    font-size: 32px;
    text-align: left;
    margin-bottom: 8px;
}

.contact-form-final p {
    text-align: left;
    margin-bottom: 24px;
    color: var(--muted);
}

.info-panel-final {
    background-color: var(--brand-deep);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 79, 134, 0.3);
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 440px;
    display: flex;
    flex-direction: column;
}

.info-content-wrapper {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-panel-final h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.info-item-new {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.info-item-new svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    flex-shrink: 0;
    margin-top: 4px;
}

.info-socials-new {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 17px;
}

.info-socials-new a svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.info-socials-new span { font-weight: 500; }

.form-group { margin-bottom: var(--space-16); }

.form-control {
    width: 100%;
    padding: var(--space-8) var(--space-12);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

textarea.form-control { min-height: 120px; }

/* =================================
   SERVICES PAGE RESPONSIVE
================================= */
@media (max-width: 992px) {
    .testimonial-card { width: calc(50% - 12px); }
    .carousel { padding: 0 40px; }
    .carousel-arrow.prev { left: -10px; }
    .carousel-arrow.next { right: -10px; }
    .contact-wrapper-final {
        display: block;
        min-height: auto;
    }
    .info-panel-final,
    .contact-form-final {
        position: relative;
        transform: none;
        width: 100%;
        height: auto;
        left: auto;
        right: auto;
        padding: 40px;
    }
    .info-panel-final { margin-bottom: 24px; }
}

@media (max-width: 768px) {
    .carousel { padding: 0; }
    .carousel-arrow { display: none; }
    .testimonial-card { width: 100%; }
}