/* Edward Kruger | CSS Version: 1.57 / 06.03.2026 */

:root {
    color-scheme: dark;
	--bg-dark: #0e131f;    
    --bg-accent: #151c26;
    --text-main: #cbd5e1;  
    --text-dim: #b0b0b0;     
    --border: #334767;
    --white: #e2e8f0;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/roboto-v50-latin-regular.woff2') format('woff2'); 
} 

* { 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
	background-color: var(--bg-dark);
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif; 
    color: var(--text-main); 
	line-height: 1.6;
    text-size-adjust: none;
}

p, ul, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
} 

#header-wrapper {
	padding: 50px 0px 50px 0px; /* Top, Right, Bottom, Left */
	text-align: center;
	line-height: 1.2;
}

#header-wrapper h1 { 
    font-size: 2.8em; 
    letter-spacing: 4px;
    font-weight: 700;
	color: #e5e5e5; /*color: #FF3F3F;*/
}

#header-wrapper h2 { 
    font-size: 1.1em;
    letter-spacing: 2px;
	font-weight: 300;
	color: #b3b3b3;
    margin-top: 8px;
}

#banner { 
	border-top: 2px solid var(--border);
	padding: 35px 0px 35px 0px; /* Top, Right, Bottom, Left */
} 

#banner img { 
    width: 100%; 
    max-width: 900px; 
    height: auto; 
    border-radius: 12px; 
    box-shadow: 0 3px 50px rgba(0,0,0,0.5);
    display: block;
    margin: 0 auto;
	overflow: hidden;
}

.box {
    background: var(--bg-accent);
    padding: 30px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    text-align: center;
	border: 1px solid #334767;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.4s ease, background-color 0.4s ease, opacity 0.8s ease-out;
}

.box:hover {
    fill: #ff5f5f;
    transform: translateY(-10px);
    background-color: #111827; 
    border-color: #1e3a8a; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 15px rgba(30, 58, 138, 0.15); 
}

.box h2 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.box p {
    font-size: 1.05em;
	letter-spacing: 0.1px;
    line-height: 1.4;        
    margin: 0 auto;
    max-width: 90%;
	color: var(--text-dim);
}

.box:hover svg {
    transform: scale(1.2);
    transition: all 0.3s ease;
} 

.icon-main {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.icon-main svg {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
	transform: scale(1.1);
    transition: all 0.3s ease;
	fill: #ff5f5f;
}

.contact-box {
    background: var(--bg-accent);
    padding: 30px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column; /* This forces the text to go UNDER the icon */
    align-items: center; /* This centers the icon and text horizontally */
    text-align: center;
    cursor: default;
	border: 1px solid #334767;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.4s ease, background-color 0.4s ease, opacity 0.8s ease-out;
}

.contact-box:hover {
    fill: #ff5f5f;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    background-color: #111827; 
    border-color: #1e3a8a; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 15px rgba(30, 58, 138, 0.15); 
}

.contact-box svg {
    width: 32px;
    height: 32px;
    fill: #00d4ff;
    transition: fill 0.4s ease, transform 0.3s ease;
}

.contact-box svg.revealed {
    fill: #00d4ff !important;
} 

.contact-box p {
    width: 100%;    
	margin: 0;
    cursor: default; 
	letter-spacing: 0.05rem;
	text-align: center;
	color: var(--text-dim);
}

.section-header {
    border-top: 2px solid var(--border);
	padding: 50px 0px 50px 0px; /* Top, Right, Bottom, Left */
    text-align: center;
}

.section-header h2 {
	font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: 2px;
	color: #eef5d0; /*#f5fecc*/
}

.section-header p {
    max-width: 900px;
	margin: 0 auto;
    font-size: 1.1rem;   
    letter-spacing: 0.4px;
    line-height: 1.6;
	color: #d3d5dc;
}

.section-header p.small-text { 
    font-size: 0.9em; 
	color: #f7dddb;
}

.section-header p.small-text2 { 
    font-size: 1.0em; 
	color: #c8c8c8;
}

.section-body {
	padding: 0px 20px 50px 20px; /* Top, Right, Bottom, Left */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

#contacts > p {
    max-width: 900px;
    margin: 0 auto 50px auto; /* Centers the text and adds space before the icons */
    font-size: 1.15rem;
} 

.social-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.icon-social {
    display: flex;
    align-items: center;     
    justify-content: center;  
}

.icon-social svg {
    max-width: 36px;
    max-height: 36px;
    fill: #5c7da5;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.social-links a:hover .icon-social svg {
    fill: #8fb3db; 
    transform: scale(1.4); 
    filter: drop-shadow(0 0 8px rgba(92, 125, 165, 0.4)); 
}

.footer-copyright p {
    font-size: 0.70rem;
    letter-spacing: 0.12rem;
    opacity: 0.8; 
}

/* Mobile Responsiveness ******************************/
@media (max-width: 850px) {

    #header-wrapper { 
        padding: 30px 20px;
    }
	
    #header-wrapper h1 { 
        font-size: 1.6em; 
    }
	
	#banner {
		padding: 25px 0px 25px 0px; /* Top, Right, Bottom, Left */
        grid-template-columns: 1fr; 
        width: calc(100% - 40px);
		margin: 0px auto 0px auto; /* T, R, B, L */
    }
	
	.section-header {
        grid-template-columns: 1fr; 
        width: calc(100% - 40px);
		margin: 0px auto 0px auto; /* T, R, B, L */
        padding: 35px 10px 30px 10px; /* T, R, B, L */
	}

    .section-body {
        grid-template-columns: 1fr; 
        width: calc(100% - 40px);
		margin: 0px auto 0px auto; /* T, R, B, L */
        padding: 5px 10px 20px 10px; /* T, R, B, L */
	    gap: 15px;
	}

    .box, .contact-box {
		height: auto;
        padding: 30px 20px;
        margin-bottom: 20px; 
    }
	
	.social-links {
        flex-wrap: wrap; /* Allows icons to move to the second row */
        gap: 20px 30px;  /* Adds vertical gap (20px) between rows and horizontal (15px) */
        justify-content: center;
    }
}