﻿/* ==================================================
RAC TAKECARE INSURANCE & INVESTMENT SERVICES
PROFESSIONAL CORPORATE THEME
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

--primary:#0b4d61;
--secondary:#18c08f;
--dark:#072b36;
--light:#f7fbfc;
--white:#ffffff;
--text:#666666;

--shadow:
0 10px 30px rgba(0,0,0,.08);

}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#fff;
overflow-x:hidden;
color:#222;
line-height:1.7;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

/* ======================================
TOP HEADER
====================================== */

.top-header{
background:var(--dark);
padding:10px 0;
font-size:14px;
}

.top-header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.top-left a{
color:#fff;
margin-right:20px;
}

.top-left i{
color:var(--secondary);
margin-right:5px;
}

.top-right a{
color:#fff;
margin-left:15px;
transition:.3s;
}

.top-right a:hover{
color:var(--secondary);
}

/* ======================================
HEADER
====================================== */

.main-header{
background:#fff;
position:sticky;
top:0;
z-index:9999;
box-shadow:0 2px 15px rgba(0,0,0,.06);
}

.header-wrapper{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 0;
}

.logo img{
height:70px;
}

.desktop-menu ul{
display:flex;
gap:30px;
}

.desktop-menu a{
font-size:15px;
font-weight:600;
color:#222;
transition:.3s;
}

.desktop-menu a:hover{
color:var(--secondary);
}

.quote-btn{
background:var(--secondary);
color:#fff;
padding:14px 28px;
border-radius:50px;
font-weight:600;
display:inline-block;
}

.quote-btn:hover{
opacity:.9;
}

.mobile-toggle{
display:none;
font-size:30px;
cursor:pointer;
}

/* ======================================
MOBILE MENU
====================================== */

.mobile-menu{
position:fixed;
top:0;
right:-100%;
width:300px;
height:100%;
background:#fff;
z-index:99999;
transition:.4s;
box-shadow:-5px 0 20px rgba(0,0,0,.1);
}

.mobile-menu.active{
right:0;
}

.mobile-menu-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px;
border-bottom:1px solid #eee;
}

.mobile-menu-header img{
height:50px;
}

.close-menu{
font-size:24px;
cursor:pointer;
}

.mobile-menu ul{
padding:20px;
}

.mobile-menu li{
border-bottom:1px solid #eee;
}

.mobile-menu a{
display:block;
padding:14px 0;
color:#222;
font-weight:600;
}

/* ======================================
HERO SECTION
====================================== */

.hero-section{
padding:90px 0;
background:
linear-gradient(
135deg,
#eafcf7,
#ffffff
);
}

.hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.hero-tag{
display:inline-block;
background:var(--secondary);
color:#fff;
padding:8px 20px;
border-radius:50px;
margin-bottom:20px;
font-size:14px;
}

.hero-content h1{
font-size:58px;
font-weight:800;
line-height:1.2;
color:var(--dark);
margin-bottom:20px;
}

.hero-content p{
font-size:18px;
color:var(--text);
margin-bottom:30px;
}

.hero-buttons{
display:flex;
gap:15px;
margin-bottom:40px;
}

.primary-btn{
background:var(--secondary);
color:#fff;
padding:15px 30px;
border-radius:50px;
font-weight:600;
display:inline-block;
}

.secondary-btn{
border:2px solid var(--secondary);
color:var(--secondary);
padding:13px 28px;
border-radius:50px;
font-weight:600;
display:inline-block;
}

.hero-stats{
display:flex;
gap:40px;
}

.hero-stats h3{
color:var(--primary);
font-size:30px;
}

.hero-image img{
max-width:500px;
margin:auto;
}

/* ======================================
COMMON SECTION
====================================== */

section{
padding:100px 0;
}

.section-header{
text-align:center;
margin-bottom:60px;
}

.section-header span{
color:var(--secondary);
font-size:14px;
font-weight:600;
letter-spacing:2px;
}

.section-header h2{
font-size:42px;
margin-top:10px;
color:var(--dark);
}

/* ======================================
ABOUT
====================================== */

.about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.about-image img{
border-radius:25px;
box-shadow:var(--shadow);
}

.about-box{
display:flex;
gap:20px;
margin-bottom:30px;
}

.about-box i{
font-size:40px;
color:var(--secondary);
}

/* ======================================
SERVICES
====================================== */

.services-section{
background:var(--light);
}

.services-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.service-card{
background:#fff;
padding:35px;
border-radius:25px;
text-align:center;
box-shadow:var(--shadow);
transition:.3s;
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.service-card i{
font-size:45px;
color:var(--secondary);
margin-bottom:20px;
}

/* ======================================
WHY CHOOSE US
====================================== */

.why-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.why-card{
background:#fff;
padding:30px;
border-radius:20px;
text-align:center;
box-shadow:var(--shadow);
}

/* ======================================
MILESTONE
====================================== */

.milestone-section{
background:var(--primary);
}

.milestone-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.milestone-box{
text-align:center;
color:#fff;
}

.milestone-box h2{
font-size:50px;
color:var(--secondary);
}

/* ======================================
TEAM
====================================== */

.team-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.team-card{
background:#fff;
padding:25px;
border-radius:25px;
text-align:center;
box-shadow:var(--shadow);
}

.team-card img{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;
margin:auto auto 20px;
}

/* ======================================
TESTIMONIAL
====================================== */

.testimonial-section{
background:var(--light);
}

.testimonial-card{
max-width:800px;
margin:auto;
background:#fff;
padding:50px;
border-radius:25px;
text-align:center;
box-shadow:var(--shadow);
}

.testimonial-card h4{
color:#f9b000;
margin-top:20px;
}

/* ======================================
CTA
====================================== */

.cta-section{
background:
linear-gradient(
135deg,
var(--primary),
#0d667f
);

text-align:center;
color:#fff;
}

.cta-section h2{
font-size:48px;
margin-bottom:20px;
}

.cta-section p{
margin-bottom:30px;
}

/* ======================================
FOOTER
====================================== */

.footer{
background:#061f27;
color:#fff;
padding-top:70px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:40px;
}

.footer h3,
.footer h4{
margin-bottom:20px;
}

.footer a{
color:#d5d5d5;
}

.footer li{
margin-bottom:10px;
}

.copyright{
text-align:center;
padding:25px;
margin-top:40px;
border-top:1px solid rgba(255,255,255,.1);
font-size:14px;
}

/* ======================================
MOBILE RESPONSIVE FIXED
====================================== */

@media(max-width:991px){

.top-header{
display:none;
}

.desktop-menu{
display:none;
}

.header-action{
display:none;
}

.mobile-toggle{
display:block;
color:var(--primary);
}

/* HEADER */

.logo img{
height:55px;
}

/* SECTION */

section{
padding:60px 0;
}

/* HERO */

.hero-section{
padding:40px 0;
}

.hero-grid{
display:flex;
flex-direction:column-reverse;
gap:25px;
text-align:center;
}

.hero-image{
width:100%;
order:1;
}

.hero-image img{
width:100%;
max-width:320px;
margin:auto;
}

.hero-content{
order:2;
}

.hero-content h1{
font-size:36px;
line-height:1.3;
margin-bottom:15px;
}

.hero-content p{
font-size:16px;
margin-bottom:20px;
}

.hero-buttons{
display:flex;
flex-direction:column;
gap:12px;
margin-bottom:25px;
}

.primary-btn,
.secondary-btn{
width:100%;
text-align:center;
}

/* HERO STATS */

.hero-stats{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
}

.hero-stats div{
background:#fff;
padding:15px 10px;
border-radius:15px;
box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.hero-stats h3{
font-size:22px;
margin-bottom:5px;
}

.hero-stats p{
font-size:12px;
margin:0;
}

/* GRID SECTIONS */

.about-grid,
.services-grid,
.why-grid,
.milestone-grid,
.team-grid,
.footer-grid{
grid-template-columns:1fr;
}

/* SECTION HEADER */

.section-header{
margin-bottom:40px;
}

.section-header h2{
font-size:30px;
line-height:1.3;
}

/* ABOUT */

.about-image{
margin-bottom:25px;
}

.about-box{
align-items:flex-start;
}

/* SERVICES */

.service-card{
padding:25px;
}

/* TEAM */

.team-card img{
width:140px;
height:140px;
}

/* CTA */

.cta-section h2{
font-size:32px;
line-height:1.3;
}

/* FOOTER */

.footer-grid{
gap:30px;
text-align:center;
}

.footer{
padding-bottom:20px;
}

}

/* ======================================
SMALL MOBILE
====================================== */

@media(max-width:576px){

.container{
width:92%;
}

.hero-content h1{
font-size:30px;
}

.hero-tag{
font-size:12px;
padding:8px 15px;
}

.hero-image img{
max-width:280px;
}

.hero-stats{
grid-template-columns:1fr;
}

.hero-stats div{
padding:18px;
}

.primary-btn,
.secondary-btn,
.quote-btn{
width:100%;
display:block;
text-align:center;
}

.section-header h2{
font-size:26px;
}

.section-header span{
font-size:12px;
}

.testimonial-card{
padding:25px;
}

.testimonial-card p{
font-size:16px;
}

.cta-section h2{
font-size:28px;
}

.milestone-box h2{
font-size:38px;
}

}

/* ======================================
EXTRA SMALL DEVICE
====================================== */

@media(max-width:360px){

.hero-content h1{
font-size:26px;
}

.hero-image img{
max-width:240px;
}

.logo img{
height:45px;
}

.mobile-menu{
width:260px;
}

}



.desktop-menu ul li a.active,
.desktop-menu ul li a:hover{
    color:var(--secondary);
}

.desktop-menu ul li a.active{
    font-weight:700;
}


.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    z-index:99999;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.whatsapp-float:hover{
    transform:scale(1.1);
}


.team-card{
transition:.4s;
}

.team-card:hover{
transform:translateY(-8px);
}


.call-float{
position:fixed;
left:20px;
bottom:20px;
width:60px;
height:60px;
border-radius:50%;
background:#0b4d61;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
z-index:99999;
}