@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Source Sans 3', Arial, sans-serif;
    line-height:1.6;
    color:#333;
    background:#f7f7f7;
}


h1, h2, h3, h4,
nav a,
.hero-button{
    font-family:'Montserrat', Arial, sans-serif;
}

.container{
    width:95%;
    max-width:1320px;
    margin:auto;
}

/* ===========================
   Header
=========================== */

header{
    background:#f2e6d6;
    border-bottom:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.header-main{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}


/* Logo + Text */

.header-left{
    display:flex;
    align-items:center;
    gap:25px;
}

.logo{
    width:280px;
    height:auto;
}

.header-info{
    border-left:3px solid #d4af37;
    padding-left:20px;
}

.tagline{
    font-size:14px;
    font-weight:600;
    color:#444;
    margin-bottom:3px;
}

.service-area{
    font-size:13px;
    color:#777;
}


/* Right Side */

.header-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}


/* Phone */


.header-phone{
    text-align:right;
    color: black;
    font-size:17px;
    font-weight:bold;
    line-height:1.2;
}

.header-phone span{
    display:inline;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#777;
    margin-right:8px;
}



/* ===========================
   Navigation
=========================== */

nav{
    background:#f2e6d6;
    padding:18px 0 12px;
}

.nav-menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:30px;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-menu > li{
    position:relative;
}

.nav-menu > li > a{
    display:flex;
    align-items:center;
    color:#7A1E1E;
    text-decoration:none;
    font-family:'Montserrat', sans-serif;
    font-weight:700;
    font-size:17px;
    text-transform:uppercase;
    transition:.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active{
    color:#b8941f;
}
/* ===========================
   Dropdown Menu
=========================== */

.nav-arrow{

    display:inline-block;

    width:7px;
    height:7px;

    margin-left:8px;
    margin-top:-3px;

    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;

    transform:rotate(45deg);

    transition:transform .25s ease;

}

.dropdown:hover .nav-arrow{

    transform:rotate(-135deg);

}

.dropdown-menu{

    position:absolute;

    top:calc(100% + 18px);
    left:50%;
    transform:translateX(-50%);

    min-width:260px;

    padding:10px 0;
    margin:0;

    list-style:none;

    background:#ffffff;

    border-top:4px solid #d4af37;
    border-radius:8px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    opacity:0;
    visibility:hidden;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index:1000;

}

.dropdown:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:translateX(-50%) translateY(6px);

}

.dropdown-menu li{

    width:100%;

}

.dropdown-menu li a{

    display:block;

    padding:12px 20px;

    color:#555;
    text-decoration:none;

    font-size:15px;
    font-weight:600;

    text-transform:none;

    transition:.25s;

}

.dropdown-menu li a:hover{

    background:#faf3f3;
    color:#7A1E1E;

    padding-left:26px;

}

/* ===========================
   Company Intro Hero
=========================== */

.company-hero{

    background-image:url("../images/home-image.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    /* creates the moving effect while scrolling */
    background-attachment:fixed;

    height:380px;

    color:white;
    position:relative;
    overflow:hidden;

}

.company-overlay{

    /* darker gray transparent overlay */
    background:rgba(40,40,40,.55);

    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

}

.company-hero h1{

    font-size:34px;
    max-width:850px;
    margin:0 auto 15px;
    line-height:1.25;
    font-weight:700;

}


.company-hero p{

    font-size:17px;
    max-width:750px;
    margin:auto;
    line-height:1.6;


}

/* ===========================
   About Intro Block
=========================== */

.about-intro-block{
    padding:35px 20px 45px;
    margin-bottom:100px;
}

.about-intro-content{

    max-width:900px;
    margin:auto;
    text-align:center;

}


.about-intro-content h2{

    color:#7A1E1E;

    font-family:'Montserrat',sans-serif;

    font-size:42px;

    line-height:1.2;

    margin-bottom:25px;

}


.about-intro-content p{

    color:#555;

    font-size:19px;

    line-height:1.9;

    margin-bottom:40px;

}


/* Service Highlights */

.about-services{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;

}


.about-service-item{

    background:#faf3f3;

    padding:20px;

    border-radius:8px;

    color:#7A1E1E;

    font-weight:600;

    font-size:16px;

    text-align:left;

    border:1px solid #ead7d7;

}


.about-service-item span{

    color:#b8860b;

    font-size:22px;

    margin-right:8px;

}




/* ===========================
   About Company
=========================== */

.about-company{
    background:#f7f7f7;
    padding:90px 20px;
}

/* Text */

.section-label{
    display:inline-block;
    color:#b8860b;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.about-content h2{
    color:#7A1E1E;
    font-family:'Montserrat',sans-serif;
    font-size:40px;
    line-height:1.2;
    margin-bottom:25px;
}

.about-content p{
    color:#555;
    font-size:18px;
    line-height:1.9;
    margin-bottom:22px;
}

.about-content p:last-child{
    margin-bottom:0;
}
/* ===========================
   About Image + Text Row
=========================== */

.about-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:0;
    margin-bottom:90px;
}


/* Image Side */

.about-image{
    height:auto;
    display:flex;
}

.about-image img{

    width:100%;
    height:420px;
    object-fit:cover;

}




.about-card{
    gap:0;
    background:#f2e6d6;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}


.about-card .about-image img{
    width:100%;
    max-width:none;
    height:100%;
    min-height:420px;
    border-radius:0;
    box-shadow:none;
}

.about-card .about-content{
    background:#f2e6d6;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
/* ===========================
   Certifications
=========================== */

.certifications{
    background:#fff;
    padding:100px 20px;
}

.certification-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
        "header image"
        "content image";
    gap:35px 70px;
    align-items:center;
}

.certification-header{
    grid-area:header;
}

.certification-content{
    grid-area:content;
}

.certification-image{
    grid-area:image;
    display:flex;
    justify-content:center;
    align-items:center;
}

.certification-image img{
    max-width:100%;
    width:480px;
    height:auto;
    transition:.35s;
}

.certification-image img:hover{
    transform:scale(1.03);
}

.certification-header h2{
    font-family:'Montserrat',sans-serif;
    font-size:42px;
    color:#7A1E1E;
    line-height:1.2;
    margin-top:12px;
}

.certification-content p{
    color:#555;
    font-size:19px;
    line-height:1.9;
    margin-bottom:22px;
}

.certification-content p:first-child{
    font-size:24px;
    font-weight:700;
    color:#7A1E1E;
}

.certification-content p:last-child{
    margin-bottom:0;
}

/* Mobile */

@media(max-width:900px){

    .certification-layout{
        grid-template-columns:1fr;
        grid-template-areas:
            "header"
            "image"
            "content";
        gap:35px;
        text-align:center;
    }

    .certification-header h2{
        font-size:34px;
    }

    .certification-image img{
        width:320px;
    }

}
/* ===========================
   Company Highlights
=========================== */

.about-highlights{
    background:#faf3f3;
    padding:85px 20px;
    border-top:1px solid #ead7d7;
    border-bottom:1px solid #ead7d7;
}

.about-highlights .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.highlight-card{
    background:#fff;
    padding:45px 25px;
    text-align:center;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.highlight-card:hover{
    transform:translateY(-8px);
}

.highlight-card h3{
    color:#d4af37;
    font-family:'Montserrat',sans-serif;
    font-size:48px;
    margin-bottom:10px;
    line-height:1;
}

.highlight-card p{
    color:#555;
    font-size:17px;
    font-weight:600;
}



/* ===========================
   Footer Image Banner
=========================== */

.footer-image{

    background-image:url("../images/hero.jpg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:100% auto;

    height:220px;
    width:100%;

}

/* ===========================
   Footer
=========================== */

footer{
	background:#7A1E1E;
    color:#fff;
    padding:45px 60px;
    margin-top: 0;
    border-top:4px solid #5E1717;

}

.footer-container{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items:start;
    max-width:1300px;
    margin:0 auto;
}
.footer-left{
    justify-self:start;     /* stays toward the left edge */
}

.footer-center{
    justify-self:center;    /* perfectly centered */
    text-align:center;
}

.footer-right{
    justify-self:end;
    text-align:right;
    max-width:220px;
}
/* ===========================
   Left - Quick Links
=========================== */



.footer-left h4{
    font-size:18px;
    font-weight:bold;
    color:#fff;
    margin-bottom:15px;
}

.footer-left ul{
    list-style:none;
    padding:0;
}

.footer-left ul li{
    margin-bottom:10px;
}

.footer-left ul li a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.footer-left ul li a:hover{
    color:#ffc107;
}

/* ===========================
   Center
=========================== */

.footer-center{
    text-align:center;
}

.footer-center p{
    margin:6px 0;
    color:#fff;
}

/* ===========================
   Right - Contact Info
=========================== */

.footer-right h4{
    font-size:18px;
    font-weight:bold;
    color:#fff;
    margin-bottom:15px;
}

.footer-right p{
    margin:10px 0;
    color:#fff;
    line-height:1.5;
	word-wrap:break-word;
    overflow-wrap:break-word;
}

.footer-right strong{
    font-weight:bold;
}

.footer-right a{
    color:#fff;
    text-decoration:none;
}

.footer-right a:hover{
    color:#ffc107;
}

/* ===========================
   Back to Top
=========================== */

.back-to-top{
    display:inline-block;
    margin-top:10px;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.back-to-top:hover{
    color:#ffc107;
}
#menuToggle{
    display:none;
}

.mobile-nav,
.nav-overlay{
    display:none;
}

/* ===========================
   Responsive
=========================== */
@media (max-width:1100px){

    .about-highlights .container{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width: 950px) {

	.header-main{
        flex-direction:column;
        gap:20px;
    }

    .header-left{
        flex-direction:column;
        text-align:center;
    }

    .header-info{
        border-left:none;
        border-top:3px solid #d4af37;
        padding-left:0;
        padding-top:10px;
    }

    .header-right{
        align-items:center;
    }

    /* Keep the nav horizontal on tablets */
	.nav-menu{
		justify-content:center;
		flex-wrap:wrap;
		gap:20px;
	}

	/* Hide dropdown arrows */
	.nav-arrow{
		display:none;
	}

	/* Hide all dropdown menus */
	.dropdown-menu{
		display:none !important;
	}

	/* Make every top-level link behave like a normal link */
	.nav-menu > li > a{
		justify-content:center;
	}

}

/* ===========================
   About Image Responsive
=========================== */

@media (max-width:900px){

    .about-row{
        grid-template-columns:1fr;
        gap:30px;
    }

    .about-image img{
        height:400px;
        width:100%;
        object-fit:cover;
    }

    .about-card .about-image img{
        min-height:400px;
    }

    .about-card .about-content{
        padding:40px;
    }

}

@media (max-width:768px){

    .nav-overlay{
		position:fixed;
		inset:0;
		background:rgba(0,0,0,.45);
		display:none;
		z-index:998;
	}

	.nav-overlay.active{
		display:block;
	}

	/* Mobile Menu */
	.mobile-nav{
		display:block;
		position:fixed;
		top:0;
		left:-320px;
		width:300px;
		height:100vh;
		overflow-y:auto;

		background:#f2e6d6;          /* Same as header */

		transition:left .3s ease;
		z-index:99999;

		box-shadow:8px 0 25px rgba(0,0,0,.15);
	}

	.mobile-nav.active{
		left:0;
	}

	/* Header */
	.mobile-nav-header{
		display:flex;
		justify-content:space-between;
		align-items:center;

		padding:20px 24px;

		border-bottom:1px solid #ddd;
	}

	.mobile-nav-header h3{
		margin:0;
		color:#7A1E1E;
		font-family:'Montserrat',sans-serif;
		font-size:22px;
	}

	#closeMenu{
		background:none;
		border:none;
		color:#7A1E1E;
		font-size:34px;
		cursor:pointer;
		transition:.25s;
	}

	#closeMenu:hover{
		color:#b8941f;
	}

	/* Menu */
	.mobile-nav ul{
		list-style:none;
		margin:0;
		padding:18px 0;
	}

	.mobile-nav li{
		margin:0;
	}

	/* Links */
	.mobile-nav a{
		display:block;

		padding:14px 28px;

		color:#7A1E1E;
		text-decoration:none;

		font-family:'Montserrat',sans-serif;
		font-size:16px;
		font-weight:700;

		transition:.25s;
	}

	.mobile-nav a:hover{
		background:#e9dac5;
		color:#b8941f;
		padding-left:36px;
	}

	/* Section headings */
	.mobile-nav .menu-title{
		padding:20px 28px 8px;

		color:#777;
		font-size:12px;
		font-weight:700;
		letter-spacing:1.5px;
		text-transform:uppercase;

		cursor:default;
	}

    .header-main{
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        gap:15px;
    }

    /* Left side */
    .header-left{
        display:flex;
        flex-direction:row;   /* add this */
        align-items:center;
        gap:15px;
    }

    .logo{
        width:180px;
        height:auto;
    }

    /* Right side */
    .header-right{
        display:flex;
        flex-direction:column;
        align-items:flex-end;
    }

    .header-phone{
        text-align:right;
        font-size:15px;
        line-height:1.2;
    }

    .header-phone span{
        display:block;
        font-size:11px;
        margin:0;
    }

    /* Desktop nav hidden */
    .desktop-nav{
        display:none;
    }

    /* Hamburger */
    #menuToggle{
        display:flex;
        align-items:center;
        justify-content:center;

        width:46px;
        height:46px;

        border:none;
        border-radius:6px;

        background:#7A1E1E;
        color:#fff;

        font-size:28px;
        cursor:pointer;
    }
    
    .hero{
        height:400px;
    }

    .hero h2{
        font-size:2rem;
    }

    .hero p{
        font-size:1rem;
        padding:0 20px;
    }

	footer{
        padding:35px 20px;
    }

    .footer-container{
        display:grid;
		grid-template-columns:1fr;
		gap:30px;
    }

    .footer-left,
	.footer-center,
	.footer-right{
		width:100%;
		text-align:center;
		justify-self:center;
		max-width:none;
	}

    .footer-left ul li{
        margin-bottom:8px;
    }

    .back-to-top{
        margin-top:15px;
    }

}

@media (max-width:600px){

    .about-highlights .container{
        grid-template-columns:1fr;
    }

    .highlight-card{
        padding:35px 20px;
    }

    .highlight-card h3{
        font-size:40px;
    }

    .highlight-card p{
        font-size:16px;
    }

    .about-image img{
        height:300px;
    }

    .about-card .about-image img{
        min-height:300px;
    }

    .about-card .about-content{
        padding:30px 20px;
    }

}

@media (max-width:500px){

    .nav-menu{
        flex-direction:column;
        gap:12px;
    }

}