/* =====================================================
   RAMSEY IMMIGRATION LLP
   Premium Website Styles
===================================================== */

:root{
    --primary:#0B3D91;
    --secondary:#2FA8E0;
    --accent:#D62828;
    --dark:#1F2937;
    --light:#F8FAFC;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:var(--dark);
    background:#fff;
    overflow-x:hidden;
    padding-top:90px;
}

section{
    padding:90px 0;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/*================ NAVBAR ================*/

.navbar{
    transition:.4s;
    background:#fff!important;
}

.navbar-brand img{
    height:70px;
}

.nav-link{
    color:#222!important;
    font-weight:600;
    margin:0 8px;
    transition:.3s;
}

.nav-link:hover{
    color:var(--primary)!important;
}

.navbar.shadow-sm{
    box-shadow:0 10px 30px rgba(0,0,0,.08)!important;
}

/*================ BUTTONS ================*/

.btn-primary{
    background:var(--primary);
    border:none;
    padding:13px 28px;
    font-weight:600;
}

.btn-primary:hover{
    background:#072d69;
}

.btn-danger{
    background:var(--accent);
    border:none;
    padding:13px 28px;
    font-weight:600;
}

.btn-danger:hover{
    background:#b51e1e;
}

/*================ HERO ================*/

.hero{
    min-height:92vh;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,#F5FAFF,#EAF6FF);
}

.hero h5{
    letter-spacing:4px;
    font-weight:600;
}

.hero h1{
    font-size:64px;
    font-weight:800;
    line-height:1.1;
}

.hero h2{
    font-size:34px;
    color:var(--primary);
    font-weight:700;
}

.hero p{
    font-size:18px;
    color:#555;
    line-height:1.8;
}

.hero img{
    animation:float 5s ease-in-out infinite;
}

/*================ SECTIONS ================*/

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
}

.section-title p{
    color:#666;
}

/*================ CARDS ================*/

.service-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    transition:.35s;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    height:100%;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.service-card i{
    font-size:50px;
    color:var(--primary);
    margin-bottom:20px;
}

.service-card h4{
    font-weight:700;
}

/*================ COUNTERS ================*/

.counter-box{
    background:var(--primary);
    color:#fff;
    border-radius:18px;
    padding:40px;
    text-align:center;
}

.counter-box h2{
    font-size:46px;
    font-weight:700;
}

/*================ TESTIMONIALS ================*/

.testimonial{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.testimonial img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
}

/*================ FOOTER ================*/

footer{
    background:#052B66;
    color:#fff;
    padding:70px 0 25px;
}

footer a{
    color:#fff;
}

footer h4{
    margin-bottom:20px;
    font-weight:700;
}

/*================ WHATSAPP BUTTON ================*/

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

/*================ CALL BUTTON ================*/

.call-btn{
    position:fixed;
    right:25px;
    bottom:100px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

/*================ ANIMATIONS ================*/

@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-15px);
}

100%{
transform:translateY(0);
}

}

/*================ RESPONSIVE ================*/

@media(max-width:992px){

.hero{
text-align:center;
padding-top:50px;
}

.hero h1{
font-size:46px;
}

.hero h2{
font-size:26px;
}

.hero img{
margin-top:50px;
}

}

@media(max-width:768px){

.navbar-brand img{
height:55px;
}

.hero h1{
font-size:36px;
}

.hero h2{
font-size:22px;
}

.hero p{
font-size:16px;
}

.btn{
width:100%;
margin-bottom:15px;
}

section{
padding:70px 0;
}

}
/* ===========================
PREMIUM HERO SLIDER
=========================== */

.hero-image{

height:100vh;

object-fit:cover;

filter:brightness(55%);

}

.carousel-caption{

bottom:22%;

text-align:left;

max-width:700px;

}

.carousel-caption h1{

font-size:70px;

font-weight:800;

}

.carousel-caption h3{

font-size:34px;

margin-top:20px;

}

.carousel-caption p{

font-size:22px;

margin:25px 0;

}

.carousel-caption .btn{

padding:14px 32px;

}

@media(max-width:768px){

.hero-image{

height:80vh;

}

.carousel-caption{

left:8%;

right:8%;

bottom:12%;

text-align:center;

}

.carousel-caption h1{

font-size:36px;

}

.carousel-caption h3{

font-size:22px;

}

.carousel-caption p{

font-size:16px;

}

}
/* =====================================================
   RAMSEY IMMIGRATION LLP
   HEADER & NAVIGATION UPGRADE
   ===================================================== */

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1000;
}

/* Navbar when scrolling */
.navbar.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Logo */
.navbar-brand img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Navigation links */
.navbar .nav-link {
    color: #222;
    font-weight: 500;
    padding: 10px 12px !important;
    transition: all 0.3s ease;
}

/* Navigation hover */
.navbar .nav-link:hover {
    color: #0B3D91;
}

/* Active navigation */
.navbar .nav-link.active {
    color: #0B3D91;
    font-weight: 700;
}

/* Navbar buttons */
.navbar .btn {
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

/* Button hover */
.navbar .btn:hover {
    transform: translateY(-2px);
}

/* Mobile menu */
.navbar-toggler {
    border: 0;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile navigation */
@media (max-width: 991.98px) {

    .navbar {
        padding: 8px 0;
    }

    .navbar-brand img {
        max-height: 58px;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 15px;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    }

    .navbar .nav-link {
        padding: 11px 10px !important;
        border-bottom: 1px solid #eeeeee;
    }

    .navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar .d-flex {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 0 !important;
    }

    .navbar .d-flex .btn {
        width: 100%;
        margin-right: 0 !important;
        text-align: center;
    }

}

/* Small mobile phones */
@media (max-width: 575.98px) {

    .navbar-brand img {
        max-height: 52px;
        max-width: 180px;
    }

    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

}


/* =====================================================
   RAMSEY IMMIGRATION LLP
   PART 3 — MOBILE OPTIMIZATION
   ===================================================== */

/* Prevent horizontal scrolling */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* General mobile spacing */
@media (max-width: 767.98px) {

    .container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        line-height: 1.7;
    }

}


/* Mobile buttons */
@media (max-width: 575.98px) {

    .btn {
        min-height: 44px;
        padding: 10px 18px;
    }

}


/* Mobile cards */
@media (max-width: 767.98px) {

    .card {
        margin-bottom: 20px;
    }

}


/* Mobile images */
@media (max-width: 767.98px) {

    img {
        max-width: 100%;
        height: auto;
    }

}


/* Footer mobile optimization */
@media (max-width: 767.98px) {

    footer {
        text-align: center;
    }

    footer .col-lg-4 {
        margin-bottom: 25px;
    }

    footer ul {
        padding-left: 0;
    }

    footer .btn {
        margin: 5px 3px;
    }

}


/* Contact information on mobile */
@media (max-width: 575.98px) {

    footer a {
        word-break: break-word;
    }

}


/* Tables on mobile */
@media (max-width: 767.98px) {

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

}


/* Forms on mobile */
@media (max-width: 767.98px) {

    form .form-control,
    form .form-select {
        min-height: 46px;
        font-size: 16px;
    }

    form textarea.form-control {
        min-height: 120px;
    }

}


/* Mobile navbar spacing */
@media (max-width: 991.98px) {

    .navbar {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .navbar-brand img {
        max-width: 180px;
        height: auto;
    }

}


/* Very small phones */
@media (max-width: 375px) {

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

}