:root{

 
--navy:#081F4A;
--gold:#D9A52A;
--white:#ffffff;
--light:#f7f8fa;
--text:#1f2937;
 

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
color:var(--text);
line-height:1.6;
background:#f5f7fa;
}

.container{
width:min(92%,1280px);
margin:auto;
}

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

/* =====================
HEADER
===================== */

.site-header,
header{

 
background:white;
position:sticky;
top:0;
z-index:1000;

box-shadow:
    0 3px 18px rgba(0,0,0,.08);
 

}

.nav-container{

 
display:flex;
justify-content:space-between;
align-items:center;

min-height:90px;
 

}

.logo img{
height:70px;
}

.nav-menu{

 
list-style:none;
display:flex;
align-items:center;
gap:30px;
 

}

.nav-menu a{

 
text-decoration:none;
color:var(--navy);
font-weight:600;
 

}

.nav-menu > li > a{

    position:relative;

    transition:all .25s ease;

}

.nav-menu > li > a:hover{

    color:var(--gold);

}

.nav-menu > li > a::after{

    content:"";

    position:absolute;

    bottom:-6px;

    left:0;

    width:0;

    height:2px;

    background:var(--gold);

    transition:width .25s ease;

}

.nav-menu > li > a:hover::after{

    width:100%;

}

.btn-nav{

 
background:var(--gold);
color:var(--navy)!important;

padding:12px 20px;
border-radius:5px;

transition:all .25s ease;
 

}

.btn-nav:hover{

    background:#c89314;

    transform:translateY(-2px);

    box-shadow:
    0 6px 16px rgba(0,0,0,.15);

}

/* =====================
DROPDOWN
===================== */

.dropdown{
position:relative;
}

.dropdown-menu{

 
position:absolute;

top:100%;

right:0;
left:auto;

min-width:450px;

background:white;

list-style:none;

border-radius:8px;

overflow:hidden;

box-shadow:
    0 15px 40px rgba(0,0,0,.18);

opacity:0;
visibility:hidden;

transform:translateY(10px);

transition:all .25s ease;
 

}

.dropdown:hover .dropdown-menu{

opacity:1;
visibility:visible;

transform:translateY(0);


}

.dropdown-menu li a{

 
display:block;

padding:16px 22px;

line-height:1.4;

transition:all .2s ease;
 

}

.dropdown-menu li a:hover{

    background:#f7f8fa;

    color:var(--gold);

    padding-left:28px;

}

/* =====================
HERO
===================== */

.hero{

    min-height:650px;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.55) 35%,
        rgba(0,0,0,.25) 70%,
        rgba(0,0,0,.15) 100%
    ),
    url("../images/hero-laboratory.jpg");

    background-size:cover;

    background-position:right center;

    display:flex;
    align-items:center;

    color:white;
}

.hero-content{

max-width:650px;
margin-left:40px;


}

.hero h1{

 
font-size:2.7rem;
line-height:1.0;
font-weight:800;
margin-bottom:25px;
 

}

.hero p{

 
font-size:1.2rem;

margin-bottom:30px;
 

}

.hero-buttons{
display:flex;
gap:15px;
}

.btn-primary,
.btn-secondary{

 
text-decoration:none;
padding:14px 26px;
border-radius:6px;

font-weight:600;
 

}

.btn-primary{

 
background:var(--gold);
color:var(--navy);
 

}

.btn-secondary{

 
border:2px solid white;
color:white;
 

}

.btn-primary:hover{

 
background:white;
 

}

.btn-secondary:hover{

 
background:white;
color:var(--navy);
 

}

/* =====================
SERVICES
===================== */

.services-section{

 
margin: 30px 0px 50px 0px;
 

}

.services-section h2{

margin-top:25px;
text-align:center;
margin-bottom:40px;

color:var(--navy);
 

}

.service-grid{

margin-top:30px; 
display:grid;
gap:25px;
margin-bottom:30px;  

}

.four-col{

 
grid-template-columns:
repeat(4,1fr);
 

}

.three-col{

 
grid-template-columns:
repeat(3,1fr);
 

}

.service-card{

    background:#ffffff;

    border-radius:12px;

    overflow:hidden;

    display:flex;
    flex-direction:column;
	
	border:1px solid rgba(0,0,0,.04);
    box-shadow:
        0 20px 40px rgba(0,0,0,.15),
        0 8px 16px rgba(0,0,0,.08);

    transition:
    transform .3s ease,
    box-shadow .3s ease;

    height:100%;

}

.service-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.15),
        0 8px 16px rgba(0,0,0,.08);

}

.service-card img{

    width:100%;
    height:140px;

    object-fit:cover;

    transition:transform .4s ease;

}

.service-card:hover img{

    transform:scale(1.05);

}

.card-content{

    padding:25px;

    display:flex;
    flex-direction:column;

    flex-grow:1;

}

.card-content h3{

    color:var(--navy);

    font-size:1.3rem;

    margin-bottom:15px;

    min-height:70px;

}

.card-content p{

    color:#555;

    line-height:1.6;

    margin-bottom:25px;

    flex-grow:1;

}

.card-btn{

    display:inline-block;

    padding:12px 20px;

    background:var(--gold);

    color:var(--navy);

    text-decoration:none;

    font-weight:600;

    border-radius:6px;

    transition:all .25s ease;

}

.card-btn:hover{

    background:var(--navy);

    color:white;

}

/* =====================
WHY CAIM
===================== */

.banner,
.why-caim{

 
background:var(--navy);
color:white;

padding:60px 0;
 

}

.why-grid{

 
display:grid;

grid-template-columns:
1fr 1fr;

max-width:1100px;
margin:auto;
	
gap:60px;
 

}

.why-grid h2{

 
font-size:2rem;
margin-bottom:25px;
 

}

.why-grid ul{

 
padding-left:20px;
 

}

.industry-tags span{

    display:inline-flex;
    align-items:center;

    padding:12px 20px;
	
	margin: 0px 0px 5px 0px;

    border:1px solid rgba(255,255,255,.25);

    background:rgba(255,255,255,.05);

    border-radius:30px;

    font-weight:500;

    transition:all .25s ease;

}

.industry-tags span:hover{

    background:rgba(255,255,255,.12);

    transform:translateY(-2px);

}

.facilities-grid{

    display:grid;

    grid-template-columns:
    1fr 1.2fr;

    gap:60px;

    align-items:center;
	
	margin-bottom: 30px;

}

.about-grid{

    display:grid;

    grid-template-columns:
    1.2fr 1fr;

    gap:60px;

    align-items:center;

    margin:60px auto;

}

.about-image img,
.facilities-grid img{

    width:100%;

    border-radius:12px;

    box-shadow:
    0 12px 30px rgba(0,0,0,.15);

}

.content-section h2,
.about-section h2,
.contact-cta h2{

    color:var(--navy);
    margin-bottom:20px;

}

.content-section p{

    max-width:900px;
    margin: 20px 0px 20px 0px;

}

.about-section{
    padding:80px 0;
}

.structural-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/structural-integrity-hero.jpg");

    background-size:cover;

    background-position:center;

}

.rotating-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/rotating-machinery-hero.jpg");

    background-size:cover;
    background-position:center;

}

.vibration-noise-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/vibration-noise-hero.jpg");

    background-size:cover;
    background-position:center;

}

.technical-acoustics-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/technical-acoustics-hero.jpg");

    background-size:cover;
    background-position:center;

}

.optical-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/optical-non-contact-hero.jpg");

    background-size:cover;
    background-position:center;

}

.rops-fops-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/rops-fops-hero.jpg");

    background-size:cover;
    background-position:center;

}

.contact-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/contact-hero.jpg");

    background-size:cover;
    background-position:center;

}

.about-grid iframe{

    border-radius:12px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08),
        0 2px 6px rgba(0,0,0,.04);

}

/* CONTACT FORM */

.contact-form-section{

    padding:30px 0px 0px 0px;

}

.contact-form-wrapper{

    max-width:900px;

    margin:0 auto;

    background:#ffffff;

    padding:50px;

    border-radius:12px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08),
        0 2px 6px rgba(0,0,0,.04);

}

.contact-form-wrapper h2{

    margin-bottom:15px;

}

.contact-form-wrapper p{

    margin-bottom:30px;

}

.form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:12px 15px;

    border:1px solid #d9d9d9;

    border-radius:8px;

    font-size:1rem;

}

.form-group textarea{

    resize:vertical;

}

.form-note{

    margin-top:20px;

    font-size:.9rem;

    color:#666;

}

@media(max-width:768px){

    .form-row{

        grid-template-columns:1fr;

    }

}

.service-card iframe{

    margin-top:30px;

    border-radius:10px;

    box-shadow:
        0 6px 15px rgba(0,0,0,.10);

}

.service-card a{

    color: var(--navy);

    text-decoration: none;

    font-weight: 600;

    transition: color .25s ease;

}

.service-card a:hover{

    color: var(--gold);

    text-decoration: underline;

}

.success-message{

    margin-top:20px;

    padding:15px 20px;

    background:#e8f8ee;

    border-left:4px solid #28a745;

    color:#155724;

    border-radius:8px;

    font-weight:600;

}

/* =====================
FOOTER
===================== */

.footer{

    background:#081F4A;
    color:#ffffff;

    padding:60px 0;

    border-top:4px solid #D9A52A;

}

.footer-grid{

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr;

    gap:40px;

}

.footer-logo{

    max-width:420px;

    margin-bottom:10px;

}

.footer h4{

    color:white;

    margin-bottom:15px;

}

.footer ul{

    list-style:none;
    padding:0;

}

.footer ul li{

    margin-bottom:10px;

}

.footer a{

    color:white;
    text-decoration:none;

}

.footer a:hover{

    color:#D9A52A;

}

.copyright{

    background:#06173A;

    padding:15px 0;

    text-align:center;

}

.copyright p{

    margin:0;

    color:rgba(255,255,255,.75);

    font-size:.9rem;

}

/* SERVICE HERO */

.durability-hero{

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.45)
    ),
    url("../images/durability-rig.jpg");

    background-size:cover;

    background-position:center;

}

/* CONTENT SECTION */

.content-section{

    padding:80px 0;

}

/* SERVICE LIST */

.service-list{

    padding-left:20px;

}

.service-list li{

    margin-bottom:12px;

}

/* CTA */

.contact-cta{

    padding:80px 0;

    text-align:center;

}

.contact-cta p{

    max-width:700px;

    margin:20px auto 30px;

}
/* =====================
MOBILE
===================== */

.mobile-toggle{

    display:none;

}

@media(max-width:900px){

    /* Header */

    .mobile-toggle{

        display:block;
        background:none;
        border:none;
        font-size:2rem;
        color:#0b2559;
        cursor:pointer;

    }

    .nav-menu{

        display:none;
        flex-direction:column;
        position:absolute;
        top:90px;
        left:0;
        width:100%;
        background:#ffffff;
        padding:20px;
        box-shadow:0 10px 25px rgba(0,0,0,0.15);
        z-index:999;

    }

    .nav-menu.active{

        display:flex;

    }

    .nav-container{
    position:relative;
    }

    /* Hero */

    .hero{

        min-height:500px;
    }

    .hero-content{

        max-width:100%;
        padding:40px 25px;
    }

    .hero h1{

        font-size:2rem;
        line-height:1.1;
    }

    .hero p{

        font-size:1rem;
    }

    .hero-buttons{

        flex-direction:column;
        align-items:flex-start;
    }

    /* Cards */

    .four-col,
    .three-col{

        grid-template-columns:1fr;
        gap:25px;

    }

    .service-card{

        max-width:100%;
    }

    /* Why CAIM */

    .why-grid{

        grid-template-columns:1fr;
        gap:40px;
        text-align:center;
    }

    /* Industries */

    .industry-tags{

        justify-content:center;
    }

    /* Contact cards */

    .contact-grid{

        grid-template-columns:1fr;
    }

    /* Maps */

    .location-grid{

        grid-template-columns:1fr;
    }

    /* Footer */

    .footer-grid{

        grid-template-columns:1fr;
        text-align:center;
        gap:30px;

    }

    .footer-logo{

        margin:0 auto;
    }

    .dropdown-menu{

        position:static;

        min-width:100%;

        opacity:1;

        visibility:visible;

        transform:none;

         box-shadow:none;

         display:none;

    }

    .dropdown:hover .dropdown-menu{

          display:block;

    }

}



