/*--------------------------------------------------------------------- 
   Chassari – Professional Stylesheet
---------------------------------------------------------------------*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Sen:wght@400;700;800&display=swap');

/* Color Palette */
:root {
    --brand-primary: #0052CC;
    --brand-primary-dark: #003D99;
    --brand-accent: #00B8D9;
    --brand-dark-bg: #0A192F;
    --brand-card-bg: #112240;
    --brand-light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(0, 82, 204, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    font-family: 'Raleway', sans-serif;
    background-color: var(--white);
}

a {
    color: var(--text-dark);
    text-decoration: none !important;
    outline: none !important;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
    position: relative;
    padding: 0;
    line-height: 1.25;
    color: var(--text-dark);
    margin: 0;
    font-family: 'Sen', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0 0 1rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
}

button {
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: none;
}

:focus {
    outline: 0;
}

.layout_padding {
    padding-top: 90px;
    padding-bottom: 0;
}

/*--------------------------------------------------------------------- 
   Header & Navigation
---------------------------------------------------------------------*/
.header_section {
    width: 100%;
    background-image: linear-gradient(rgba(10, 25, 47, 0.78), rgba(10, 25, 47, 0.78)), url(../images/banner-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.bg-light {
    background-color: transparent !important;
}

.logo {
    max-width: 180px;
}

.logo img {
    max-height: 48px;
    width: auto;
}

.navbar {
    padding: 1.25rem 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fcfefe;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: var(--brand-primary) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*--------------------------------------------------------------------- 
   Banner / Hero
---------------------------------------------------------------------*/
.banner_section {
    width: 100%;
    padding: 100px 0 120px;
}

.banner_taital_main {
    max-width: 640px;
}

.banner_taital {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-transform: none;
    letter-spacing: -0.03em;
}

.banner_text {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 1.75rem;
    line-height: 1.7;
    max-width: 540px;
}

.btn_main {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact_bt a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--brand-primary);
    padding: 0.9rem 2rem;
    text-align: center;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact_bt a:hover {
    background-color: var(--brand-primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.35);
}

/* Carousel indicators – vertical style kept professional */
.carousel-indicators {
    position: absolute;
    top: 50%;
    right: 20px;
    left: auto;
    bottom: auto;
    margin: 0;
    height: auto;
    width: auto;
    transform: translateY(-50%) rotate(90deg);
    display: flex;
    gap: 8px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0;
    opacity: 1;
    transition: var(--transition);
}

.carousel-indicators li.active {
    background-color: var(--white);
    transform: scale(1.15);
}

/* Vertical carousel transitions */
.banner_section .carousel-inner > .carousel-item.carousel-item-next,
.banner_section .carousel-inner > .carousel-item.active.carousel-item-right {
    transform: translate3d(0, 100%, 0);
}

.banner_section .carousel-inner > .carousel-item.carousel-item-prev,
.banner_section .carousel-inner > .carousel-item.active.carousel-item-left {
    transform: translate3d(0, -100%, 0);
}

.banner_section .carousel-inner > .carousel-item.next.carousel-item-left,
.banner_section .carousel-inner > .carousel-item.carousel-item-prev.carousel-item-right,
.banner_section .carousel-inner > .carousel-item.active {
    transform: translate3d(0, 0, 0);
}

/*--------------------------------------------------------------------- 
   About Section
---------------------------------------------------------------------*/
.about_section {
    width: 100%;
    padding: 100px 0;
    background-color: var(--white);
}

.about_taital {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}

.about_img {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.about_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
}

.about_text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.read_bt_1 {
    margin-top: 1.5rem;
}

.read_bt_1 a {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background-color: var(--brand-primary);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    transition: var(--transition);
}

.read_bt_1 a:hover {
    background-color: var(--brand-primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/*--------------------------------------------------------------------- 
   Services Section
---------------------------------------------------------------------*/
.services_section {
    width: 100%;
    background-color: var(--brand-dark-bg);
    padding: 100px 0;
}

.services_taital {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.services_section_2 {
    padding-top: 2.5rem;
}

.box_main {
    background-color: var(--brand-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    height: 100%;
    padding: 2.25rem 1.5rem 2rem;
    margin-top: 1.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.box_main:hover {
    background-color: #162C52;
    border-color: var(--brand-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.service_img {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service_img img {
    max-width: 100%;
    max-height: 100%;
}

.development_text {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.services_text {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.readmore_bt {
    margin-top: auto;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.box_main:hover .readmore_bt {
    opacity: 1;
    transform: translateY(0);
}

.readmore_bt a {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--brand-primary);
    padding: 0.6rem 1.25rem;
    border-radius: 5px;
    transition: var(--transition);
}

.readmore_bt a:hover {
    background-color: var(--brand-primary-dark);
}

/*--------------------------------------------------------------------- 
   Portfolio Section
---------------------------------------------------------------------*/
.portfolio_section {
    width: 100%;
    background-color: var(--brand-light-bg);
    padding: 100px 0 60px;
}

.portfolio_taital {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-dark);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
}

.portfolio_text {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1rem;
}

.portfolio_section_2 {
    padding: 2.5rem 0 1rem;
}

.pets_section_2 {
    margin-bottom: 1.5rem;
}

.container_main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.container_main .image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}

.container_main:hover .image {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.3) 0%, rgba(10, 25, 47, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.container_main:hover .overlay {
    opacity: 1;
}

.text {
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

.some_text {
    color: #fefefd;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.35rem 0;
}

i.fa.fa-link {
    background: var(--brand-primary);
    padding: 14px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------------- 
   Contact Section
---------------------------------------------------------------------*/
.contact_section {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 0;
    background-color: var(--white);
}

.contact_taital {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    color: var(--text-dark);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0;
}

.contact_section_2 {
    width: 100%;
    background-color: var(--brand-dark-bg);
    padding: 70px 0 90px;
}

.mail_section {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.mail_section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.mail_section p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
}

.send_bt a,
.send_bt.active {
    display: inline-block;
    background-color: var(--brand-primary) !important;
    color: var(--white) !important;
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px !important;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.send_bt a:hover {
    background-color: var(--brand-primary-dark) !important;
    transform: translateY(-2px);
}

/*--------------------------------------------------------------------- 
   Footer
---------------------------------------------------------------------*/
.footer_section {
    width: 100%;
    background-color: #060E1A;
    padding: 80px 0 50px;
}

.useful_text {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.lorem_text,
.dummy_text {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.location_text a {
    color: #94A3B8;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.4rem;
}

.location_text a:hover {
    color: var(--brand-accent);
}

.footer_menu ul li {
    margin-bottom: 0.5rem;
}

.footer_menu li a {
    color: #94A3B8;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer_menu li a:hover {
    color: var(--brand-accent);
    padding-left: 4px;
}

.social_icon ul {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social_icon li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.social_icon li a:hover {
    background-color: var(--brand-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Copyright */
.copyright_section {
    width: 100%;
    background-color: #030712;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 0;
}

.copyright_text {
    font-size: 0.9rem;
    color: #64748B;
    text-align: center;
    margin: 0;
}

.copyright_text a:hover {
    color: var(--brand-accent);
}

/* Utility */
.margin_top90 {
    margin-top: 90px;
}
