/* =========================================================
   Arul Constructions — UI/UX Revamp
   Palette: #2C5EAD (deep blue)  #1591DC (mid blue)
            #4BB8FA (light blue) #C4E2F5 (pale blue)
   Font:    Poppins
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* New palette */
    --brand-900: #2C5EAD;
    --brand-700: #1591DC;
    --brand-500: #4BB8FA;
    --brand-100: #C4E2F5;

    /* Semantic */
    --primary:   #2C5EAD;
    --secondary: #1591DC;
    --accent:    #4BB8FA;
    --soft:      #C4E2F5;
    --ink:       #0F2540;
    --muted:     #5b6b80;
    --bg:        #ffffff;
    --bg-alt:    #f4f9fd;

    /* Legacy aliases (keep existing markup working) */
    --red:    var(--primary);
    --second: var(--accent);

    --shadow-sm: 0 2px 8px rgba(44, 94, 173, 0.08);
    --shadow-md: 0 10px 25px rgba(44, 94, 173, 0.12);
    --shadow-lg: 0 20px 45px rgba(44, 94, 173, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
    font-family: 'Poppins', sans-serif;
    list-style-type: none;
}

html { scroll-behavior: smooth; }

body {
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none !important; transition: color .25s var(--ease); }

p {
    text-align: justify;
    color: var(--muted);
}

h1, h2, h3 {
    color: var(--primary) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h4, h5, h6 { color: var(--ink); font-weight: 600; }

/* =========================================================
   Top contact bar
   ========================================================= */
.nav-top-link {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff !important;
    font-size: 15px;
    border-radius: var(--radius-pill);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    box-shadow: var(--shadow-sm);
}
.nav-top-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%) !important;
    box-shadow: 0 4px 20px rgba(44, 94, 173, 0.18);
    padding: 0.85rem 0;
    backdrop-filter: saturate(140%);
}
.navbar .brand-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 6px 10px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform .25s var(--ease);
}
.navbar .brand-logo-box:hover { transform: scale(1.04); }
.navbar .brand-logo-box img {
    height: 42px;
    width: auto;
    display: block;
}
.navbar .brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    color: #fff;
    margin-left: 4px;
}
.navbar .brand-text .brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.navbar .brand-text .brand-sub {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-100);
}
@media (max-width: 575px) {
    .navbar .brand-logo-box img { height: 32px; }
    .navbar .brand-text .brand-name { font-size: 1.05rem; }
    .navbar .brand-text .brand-sub { font-size: 0.65rem; }
}

.navbar .navbar-brand h2,
.navbar .navbar-brand h4,
.navbar .navbar-brand h6 {
    color: #ffffff !important;
    margin: 0;
    letter-spacing: 0.5px;
}
.navbar .navbar-brand h4 { font-weight: 800; }
.navbar .navbar-brand h6 { font-weight: 400; color: var(--soft) !important; }

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    position: relative;
    transition: color .25s var(--ease);
}
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 25px; right: 25px;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s var(--ease);
}
.navbar .nav-link:hover { color: #fff !important; }
.navbar .nav-link:hover::after,
.nav-item .active::after {
    transform: scaleX(1);
}
.nav-item .active,
.nav-link.active {
    color: var(--soft) !important;
}

.navbar-toggler {
    padding: 12px;
    border: 0 !important;
    box-shadow: none !important;
}
.menu_bar {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: .3s var(--ease);
}
.menu_bar:nth-child(2) { margin: 6px 0; }

.dropdown-menu {
    border-radius: var(--radius-md) !important;
    border: none !important;
    box-shadow: var(--shadow-md);
    padding: 8px;
    margin-top: 8px !important;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--ink) !important;
    font-weight: 500;
    transition: .25s var(--ease);
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500)) !important;
    color: #fff !important;
    transform: translateX(4px);
}
.nav-item .nav-link { padding: 8px 25px !important; }

/* =========================================================
   Hero / Carousel
   ========================================================= */
.carousel { border-bottom: 4px solid var(--accent); }
.carousel-img {
    height: 580px !important;
    object-fit: cover;
    filter: brightness(0.7);
}
.carousel-caption {
    text-align: left;
    left: 8% !important;
    right: 8% !important;
    bottom: 18% !important;
}
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h5 {
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(255,255,255,0.5) !important;
    margin: 0 6px !important;
}
.carousel-indicators .active { background: var(--accent) !important; }

/* =========================================================
   Sections / Cards
   ========================================================= */
section { padding: 1rem 0; }

.home-service {
    background: linear-gradient(135deg, rgba(44,94,173,0.92), rgba(21,145,220,0.88));
    color: #fff;
}
.home-service h1, .home-service h2, .home-service h3 { color: #fff !important; }
.home-service p { color: rgba(255,255,255,0.85); }

.card {
    border-radius: var(--radius-md) !important;
    border: 1px solid rgba(44,94,173,0.08) !important;
    background: #fff;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease) !important;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-icon {
    font-size: 42px;
    color: var(--secondary);
    transition: .3s var(--ease);
}
.card:hover .card-icon { color: var(--accent); transform: scale(1.08); }

.card-1, .card-2, .card-3 {
    border-radius: var(--radius-md) !important;
    color: #fff !important;
    background-blend-mode: multiply;
    background-color: rgba(44,94,173,0.78);
    background-position: center;
    background-size: cover;
    transition: .4s var(--ease) !important;
}
.card-1 { background-image: url(../images/cons-img-17.jpeg); }
.card-2 { background-image: url(../images/cons-img-14.jpeg); }
.card-3 { background-image: url(../images/cons-img-10.jpeg); }
.card-1:hover, .card-2:hover, .card-3:hover {
    background-color: rgba(44,94,173,0.55);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-1 h3, .card-2 h3, .card-3 h3,
.card-1 h4, .card-2 h4, .card-3 h4,
.card-1 p, .card-2 p, .card-3 p { color: #fff !important; }

/* Service cards */
.card-01 {
    background: #fff;
    border: 1px solid rgba(44,94,173,0.08) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    transition: .35s var(--ease);
}
.card-01:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-01:hover h1, .card-01:hover h2, .card-01:hover h3,
.card-01:hover h4, .card-01:hover h5, .card-01:hover p { color: #fff !important; }
.card-01:hover .service-icon { color: #fff !important; }
.service-icon {
    font-size: 34px;
    color: var(--secondary);
    transition: .3s var(--ease);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-service,
.btn-home {
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700)) !important;
    border-radius: var(--radius-pill) !important;
    border: 0 !important;
    padding: 10px 26px !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 18px rgba(21,145,220,0.28);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease) !important;
}
.btn-service:hover,
.btn-home:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 12px 24px rgba(21,145,220,0.4);
}

.btns {
    border: 2px solid var(--soft);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 8px 24px;
    background: transparent;
    transition: .25s var(--ease);
}
.btns:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.contact-btn {
    color: var(--primary);
    background: #fff !important;
    border-radius: var(--radius-pill) !important;
    border: 2px solid #fff !important;
    padding: 10px 28px !important;
    font-weight: 600;
    transition: .25s var(--ease);
}
.contact-btn:hover {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
    transform: translateY(-2px);
}

/* =========================================================
   Images
   ========================================================= */
.h-pro-img,
.about-img,
.gallery-img,
.service-2 {
    width: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    border-radius: var(--radius-md);
    transition: transform .5s var(--ease);
}
.h-pro-img { height: 350px !important; }
.gallery-img { height: 260px !important; }
.about-img  { height: 100% !important; }

.gallery-img:hover,
.h-pro-img:hover { transform: scale(1.03); }

@media (max-width: 991px) {
    .about-img { height: 420px !important; }
}

/* =========================================================
   Content blocks
   ========================================================= */
.bg-content,
.bg-int {
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
    color: #fff;
    border-radius: var(--radius-md);
}
.bg-content h1, .bg-content h2, .bg-content h3,
.bg-int h1, .bg-int h2, .bg-int h3 { color: #fff !important; }
.bg-content p, .bg-int p { color: rgba(255,255,255,0.9); }

.bg-img {
    background-image: url(../images/service-img-1.jpg);
    background-color: rgba(44,94,173,0.7);
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
    width: 100%;
    border-radius: var(--radius-md);
}

.quote-icon {
    font-size: 40px;
    color: var(--brand-100) !important;
}

.interior-bg {
    background-image: linear-gradient(135deg, rgba(44,94,173,0.55), rgba(21,145,220,0.35)), url(../images/interior-img.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

/* =========================================================
   Forms
   ========================================================= */
input, textarea, select {
    margin-top: 16px !important;
    background: #fff !important;
    border: 1.5px solid rgba(44,94,173,0.15) !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 14px !important;
    transition: .25s var(--ease);
}
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 4px rgba(75,184,250,0.18) !important;
    border-color: var(--accent) !important;
    outline: none;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-lets {
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
    color: #fff;
    border-radius: var(--radius-md);
}
.contact-lets h1, .contact-lets h2, .contact-lets h3 { color: #fff !important; }
.contact-lets p, .contact-lets label { color: rgba(255,255,255,0.9); }
.contact-lets input,
.contact-lets textarea {
    background: rgba(255,255,255,0.08) !important;
    border: 1.5px solid rgba(255,255,255,0.25) !important;
    color: #fff !important;
}
.contact-lets input::placeholder,
.contact-lets textarea::placeholder { color: rgba(255,255,255,0.65); }
.contact-lets input:focus,
.contact-lets textarea:focus {
    background: rgba(255,255,255,0.14) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(75,184,250,0.25) !important;
}

.contact-icon {
    font-size: 22px;
    color: #fff !important;
}
.contact i.fa,
.contact i.contact-icon {
    padding: 14px;
    display: inline-block;
    width: 48px;
    height: 48px;
    margin: 0 10px 10px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

/* =========================================================
   Footer
   ========================================================= */
footer {
    background: linear-gradient(180deg, #0F2540 0%, #0a1a30 100%) !important;
    color: rgba(255,255,255,0.78);
    padding-top: 1.5rem;
}
footer h1, footer h2, footer h3, footer h4, footer h5 { color: #fff !important; }
footer p, footer li, footer a { color: rgba(255,255,255,0.75) !important; }
.footer ul li a:hover,
footer a:hover { color: var(--accent) !important; }

.footer-icon {
    font-size: 32px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    border-radius: 50%;
    padding: 4px;
    transition: .25s var(--ease);
}
.footer-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social {
    font-size: 18px;
    background: transparent;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.75) !important;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: .25s var(--ease);
}
.footer-social:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
    transform: translateY(-3px);
}

.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    transition: transform .25s var(--ease);
}
.whatsapp:hover { transform: scale(1.08); }

/* =========================================================
   Tabs (projects)
   ========================================================= */
#tabs ul.nav-tabs,
.nav-tabs {
    border-bottom: 2px solid var(--soft) !important;
    gap: 6px;
}
.nav-tabs .nav-link {
    color: var(--primary) !important;
    border: 0 !important;
    border-radius: var(--radius-pill) !important;
    padding: 8px 22px !important;
    font-weight: 500;
    transition: .25s var(--ease);
}
.nav-tabs .nav-link:hover {
    background: var(--soft) !important;
    color: var(--primary) !important;
}
.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700)) !important;
    color: #fff !important;
}

/* =========================================================
   Utility tweaks
   ========================================================= */
::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--brand-700), var(--brand-900));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Soft section backgrounds — apply via class if desired */
.section-soft { background: var(--bg-alt); }
.section-accent { background: var(--soft); }

/* Carousel control arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 22px;
    background-size: 50% 50%;
}

/* =========================================================
   UI/UX Pro Max — Swiss minimalism utilities
   ========================================================= */

/* Section eyebrow label */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary);
    padding: 6px 14px;
    background: var(--soft);
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.section-heading {
    margin-bottom: 0.5rem;
}
.section-lead {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    color: var(--muted);
    text-align: center;
}

/* Page hero strip (sub-pages) */
.page-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(44,94,173,0.92) 0%, rgba(21,145,220,0.85) 100%),
        url('../images/cons-img-17.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 5rem 0 4.5rem;
    text-align: center;
    border-bottom: 4px solid var(--accent);
    margin-bottom: 1rem;
}
.page-hero h1 {
    color: #fff !important;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}
.page-hero .crumbs {
    color: var(--soft);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.page-hero .crumbs a {
    color: #fff;
}
.page-hero .crumbs a:hover {
    color: var(--brand-100);
}

/* Hero carousel caption overlay (home) */
.hero-caption {
    display: block !important;
}
.hero-caption .eyebrow {
    background: rgba(255,255,255,0.12);
    color: #fff;
    backdrop-filter: blur(6px);
}
.hero-caption h1 {
    color: #fff !important;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 720px;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.hero-caption p {
    color: rgba(255,255,255,0.92);
    text-align: left;
    max-width: 560px;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Stat cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
    text-align: center;
    padding: 1.75rem 1rem;
    background: #fff;
    border: 1px solid rgba(44,94,173,0.08);
    border-radius: var(--radius-md);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.stat-card .stat-num {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-card .stat-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.stat-card .stat-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.6rem;
    display: block;
}

/* Project tile with hover overlay */
.project-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.project-tile img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.project-tile:hover img { transform: scale(1.08); }
.project-tile .tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,37,64,0) 40%, rgba(15,37,64,0.85) 100%);
    display: flex; align-items: flex-end;
    padding: 1.25rem;
    color: #fff;
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.project-tile:hover .tile-overlay { opacity: 1; }
.project-tile .tile-overlay h5 {
    color: #fff !important;
    font-weight: 600;
    margin: 0;
    transform: translateY(8px);
    transition: transform .35s var(--ease);
}
.project-tile:hover .tile-overlay h5 { transform: translateY(0); }

/* Testimonial card refinement */
.testimonial .cards,
.testimonial .item .cards {
    background: #fff;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(44,94,173,0.08) !important;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.testimonial .cards:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial .author {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}
.testimonial .author small {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 0.8rem;
}

/* Contact info cards (contact page) */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid rgba(44,94,173,0.08);
    border-radius: var(--radius-md);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    text-decoration: none;
}
.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.contact-info-card .ci-icon {
    flex: 0 0 52px;
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
}
.contact-info-card .ci-label {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.contact-info-card .ci-value {
    color: var(--ink);
    font-weight: 600;
}

/* WhatsApp FAB polish */
.whatsapp {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 20px !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600;
}

/* Container width consistency (Swiss-style restraint) */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1180px;
    }
}

/* Accessibility — focus-visible ring */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.btn-service:focus-visible,
.contact-btn:focus-visible,
.whatsapp:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Cursor pointer on interactive surfaces */
.card, .card-01, .card-1, .card-2, .card-3,
.project-tile, .stat-card, .contact-info-card,
.footer-icon, .footer-social {
    cursor: pointer;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile readability */
@media (max-width: 575px) {
    body { font-size: 16px; }
    .hero-caption h1 { font-size: 1.8rem; }
    .carousel-img { height: 420px !important; }
    .page-hero { padding: 3.5rem 0 3rem; }
}

/* =========================================================
   Modern footer
   ========================================================= */
.footer-modern {
    position: relative;
    background:
        radial-gradient(1200px 400px at 100% 0%, rgba(75,184,250,0.10), transparent 60%),
        radial-gradient(900px 350px at 0% 100%, rgba(21,145,220,0.10), transparent 60%),
        linear-gradient(180deg, #0F2540 0%, #081628 100%);
    color: rgba(255,255,255,0.78);
    padding: 70px 0 0;
    margin-top: 60px;
}
.footer-modern a {
    color: rgba(255,255,255,0.78);
    transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-modern a:hover {
    color: var(--accent);
}

/* Top CTA strip */
.footer-cta {
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    margin: -120px auto 3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-cta .cta-text h3 {
    color: #fff !important;
    margin: 0 0 .25rem;
    font-weight: 700;
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}
.footer-cta .cta-text p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    text-align: left;
}
.footer-cta .btn {
    background: #fff !important;
    color: var(--primary) !important;
    border-radius: var(--radius-pill) !important;
    border: 0 !important;
    padding: 12px 26px !important;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.footer-cta .btn:hover {
    transform: translateY(-2px);
    background: var(--accent) !important;
    color: #fff !important;
}

/* Footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta { padding: 1.5rem; text-align: center; }
    .footer-cta .cta-text p { text-align: center; }
}

.footer-brand h3 {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 .25rem;
}
.footer-brand .brand-tag {
    color: var(--brand-100);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}
.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
    text-align: left;
}

.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7) !important;
}
.footer-links a::before {
    content: "›";
    color: var(--accent);
    font-weight: 700;
    transition: transform .2s var(--ease);
}
.footer-links a:hover { color: #fff !important; }
.footer-links a:hover::before { transform: translateX(3px); }

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
}
.footer-contact-row iconify-icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(75,184,250,0.15);
    color: var(--accent);
    border-radius: 50%;
    font-size: 18px;
}
.footer-contact-row a { color: rgba(255,255,255,0.78) !important; }
.footer-contact-row a:hover { color: var(--accent) !important; }
.footer-contact-row .ct-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
}
.footer-social-row a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: rgba(255,255,255,0.85) !important;
    font-size: 18px;
    transition: .2s var(--ease);
}
.footer-social-row a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}
.footer-bottom a {
    color: var(--accent) !important;
    font-weight: 500;
}
.footer-bottom .badge-dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
}
