﻿/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b; /* Deeper slate for better readability */
    background-color: #ffffff;
    overflow-x: hidden;
}

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


ul {
    padding-left: 20px;
	margin-bottom: 30px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo img {
    height: 42px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
    color: #2563eb;
}



/*----- Menu General -----*/
#demo #nav-cont{display: inline-block; vertical-align: middle; width: 75%;}
#demo #nav-cont .wpMenuM1 ul li a {padding:4px 5px 2px;color: #111111;display: inline-block;text-decoration: none;transition:color 0.25s, border 0.25s;}
#demo #nav-cont .wpMenuM1 ul li a:hover {color: #ff6b00;transition:color 0.25s, border 0.25s;}
#demo #nav-cont .smallMenuIcon{display:none;}
#demo #nav-cont .wpSmallMenuM1{display:none;}

/*----- Menu Level 1 ----*/
#demo #nav-cont .wpMenuM1 {display: inline-block; vertical-align: top;width:100%;}
#demo #nav-cont .wpMenuM1 .menu{width:100%;z-index: 999; position: relative;}
#demo #nav-cont .wpMenuM1 .menu ul.lvl1 {width:100%; font-size:0; margin: 0;}
#demo #nav-cont .wpMenuM1 .menu ul.lvl1 > li {list-style: none;font-size:15px; display: inline-block; margin-right: 3.25%;vertical-align: middle;}
#demo #nav-cont .wpMenuM1 .menu ul.lvl1 > li:last-child {margin-right: 0%;}
#demo #nav-cont .wpMenuM1 .menu ul.lvl1 > li > a { margin: 0px;border-bottom: 2px solid transparent;vertical-align: middle;}
#demo #nav-cont .wpMenuM1 .menu ul.lvl1 > li > a.active {color: #ff6b00; padding:4px 5px 2px;border-bottom: 2px solid #ff6b00;}
#demo #nav-cont .wpMenuM1 .menu ul.lvl1 > li:hover > a {color: #ff6b00; padding:4px 5px 2px;border-bottom: 2px solid #ff6b00;}

/*----- Menu Level 2 ----*/
#demo #nav-cont .wpMenuM1 ul.lvl2{display:none; background-color:#fff;}
#demo #nav-cont .wpMenuM1 ul.lvl1 > li:hover > ul.lvl2{display:block;position:absolute;  margin-left: -25px; padding: 45px 0px 12px;}
#demo #nav-cont .wpMenuM1 ul.lvl2 > li{list-style: none;}
#demo #nav-cont .wpMenuM1 ul.lvl2 > li > a{ width: auto; min-width: 62%;width:calc(100% - 60px); padding: 12px 30px;}

/*----- Menu Level 3 ----*/
#demo #nav-cont .wpMenuM1 ul.lvl3{display:none; background-color:#fff; position: relative;}
#demo #nav-cont .wpMenuM1 ul.lvl2 > li:hover > ul.lvl3{display:block; margin-left: 30px; }
#demo #nav-cont .wpMenuM1 ul.lvl2 > li > a:not(:only-child):after { content: ' \25b6 '; } 
#demo #nav-cont .wpMenuM1 ul.lvl3 > li{list-style: none;}
#demo #nav-cont .wpMenuM1 ul.lvl3 > li > a{ width: auto; min-width: 62%;width:calc(100% - 60px); padding: 12px 30px;}
#demo #nav-cont .wpMenuM1 ul.lvl3 ul {display:none; background-color:#fff; position: relative;}


/* ===== HERO SECTIONS ===== */
.hero-section, .page-hero {
    background: #0f172a; /* Deep charcoal base */
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.5) contrast(1.1); /* Cinematic effect */
}

/* Adding an animated gradient overlay to the hero */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive typography */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;	
	z-index: 1;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-top: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: scale(1.02);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 100px 0;
}

.section-gray {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.content-sidebar {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 3rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== LAYOUT SECTIONS ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 10px;
}


/* Modernizing the P tags for better readability */
p {
    margin-bottom: 1.5rem; /* Consistent bottom margin for all paragraphs */
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8; /* Increased line height for "premium" feel */
}

/* ===== CONTENT WRAPPER ADJUSTMENTS ===== */

/* If your content is in a sidebar layout, ensure the main content also follows rhythm */
.content-main h2, .content-main h3 {
    margin-bottom: 1.5rem;
}

.content-main p + h2, 
.content-main p + h3 {
    margin-top: 3rem; /* More space when a new heading starts after a paragraph */
}



/* ===== FOOTER ===== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: #38bdf8;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-5px);
}



/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {

    
    .section-header {
        margin-bottom: 3rem;
    }


    .content-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.75rem; }
    .section-header { flex-direction: column; align-items: center; text-align: center; }
	
	
.header-container {
    display: flex;
    flex-direction: column;
}


	/*----- Menu General -----*/
	#demo #nav-cont{ vertical-align: middle;  text-align: center;}
	#demo #nav-cont .wpMenuM1 ul li a {padding:4px 5px 2px;color: #111111;display: inline-block;text-decoration: none;transition:color 0.25s, border 0.25s;}
	#demo #nav-cont .wpMenuM1 ul li a:hover {color: #ff6b00;transition:color 0.25s, border 0.25s;}
	#demo #nav-cont .smallMenuIcon {background-image: url('../img/touch-icon.png');background-repeat:no-repeat; width: 40px; height: 34px; background-size: 100% 100%;cursor:pointer;}
	#demo #nav-cont .wpSmallMenuM1{width:100%;font-size:15px; margin: 0 auto;}
	#demo #nav-cont .wpMenuM1{display:none;}
	
	 
	
	#demo #nav-cont .smallMenuIcon {
		display: block;
		margin: 0 auto;
	}
	
	#demo #nav-cont .wpSmallMenuM1 {
    
		display: block;
  
    }

	/*----- Menu Level 1 ----*/
	#demo #nav-cont .wpSmallMenuM1 .menu{width:100%;z-index:998; position: relative;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 {display:none;width:100%; font-size:0;border-top:1px solid #43165e;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1.flexnav-show { display: block;         padding: 15px 0;
        margin: 0;
    }
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li {list-style:none;font-size: 15px;text-align:left; border-bottom: 1px solid red;position: relative;border-bottom: 1px #fff solid;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li:last-child { border-bottom: 0px none;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > a{text-decoration:none;color:#43165e;transition:all 0.25s;width:95%; padding:20px 2.5%;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > a:hover{transition:all 0.25s;}
	#demo #nav-cont .wpSmallMenuM1 span.touch-button { position: absolute; left: 0; top: 0;padding: 20px 2.5%; width: 95%; }
	#demo #nav-cont .wpSmallMenuM1 .smallMenuIcon{ min-height: 45px;  min-width: 45px; background-size: 45px; top: 15px;}
	#demo #nav-cont .wpSmallMenuM1 .smallMenuIcon span.touch-button{ display:none;}
	#demo #nav-cont .wpSmallMenuM1 span.touch-button i.navicon { visibility:hidden; }
	/*#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li.item-with-ul a:after { content: none; }*/ 
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li a:not(:only-child):after { content: " \25B6 \FE0E"; font-size: 9px;  vertical-align: top;  display: inline-block;  margin-left: 5px;}


	/*----- Menu Level 2 ----*/
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2{list-style:none;display:block;background:#fff;padding:10px 0;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2 > li{	position: relative;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2 > li span.touch-button {padding: 10px 2.5%;min-height:16px;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2 a{text-align: left;color:#43165e;font-weight:600;text-decoration:none;transition:all 0.25s; padding:10px 5%; width:90%;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2 > li.item-with-ul > a:not(:only-child):after{content:"\00a0\25b6" ;vertical-align:middle;background-image:url(../img/expand.png);background-repeat:no-repeat;background-position:center;min-width:25px;background-size:15px;display:inline-block; color: #43165e;	}	
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2 a:hover{color:#e2383f; }
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li:hover > ul.lvl2{display:block;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li:last-child > ul.lvl2 { }
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li:last-child > ul.lvl2 a{text-align:left;text-align-last:left;}
	/*#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li.item-with-ul ul.lvl2 li.item-with-ul a:after { content: none; }*/ 
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li ul.lvl2 li a:not(:only-child):after { content: " \25B6 \FE0E"; font-size: 9px;  vertical-align: top;  display: inline-block;  margin-left: 5px; color: #43165e;}

	/*----- Menu Level 3 ----*/
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 > li > ul.lvl2 ul.lvl3 a{text-align: left;color:#43165e;font-weight:600;text-decoration:none;transition:all 0.25s; padding:10px 7%; width:90%;}
	/*#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li.item-with-ul ul.lvl2 li.item-with-ul ul.lvl3 li.item-with-ul a:after { content: none; }*/ 
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li.item-with-ul ul.lvl2 li.item-with-ul ul.lvl3 li a:not(:only-child):after { content: " \25B6 \FE0E"; font-size: 9px;  vertical-align: top;  display: inline-block;  margin-left: 5px; color: #43165e;}
	#demo #nav-cont .wpSmallMenuM1 .menu ul.lvl1 li.item-with-ul ul.lvl2 li.item-with-ul ul.lvl3 ul {display:none; background-color:#fff; position: relative;}


}



/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.layout-section, .portfolio-item, .feature-item {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

