/* Import Alexandria font from Google Fonts with Unicode support */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:ital,wght@0,100..900;1,100..900&subset=latin,latin-ext,cyrillic,cyrillic-ext,greek,greek-ext&display=swap');

body {
    padding-top: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #01395E;
}

a {
    color:#01518E;
    text-decoration: none;
}

a:hover {
    color:#8DCEFF;
    text-decoration: none;
}

.quote {
	margin-top: 15px;
	margin-bottom: 15px;
}

/* Transparent Navbar Styles */
.transparent-navbar {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.transparent-navbar .navbar-brand,
.transparent-navbar .nav-link {
    color: #ffffff !important;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
}

.transparent-navbar .nav-link:hover {
    color: #f8f9fa !important;
}

/* Dark theme navbar adjustments */
[data-bs-theme="dark"] .transparent-navbar {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Navbar auto-hide animation */
.navbar {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.navbar-hidden {
    transform: translateY(-100%);
}
.navbar-brand {
	height: 50px;
}
.navbar-logo {
	height: 100%;
}
/* Hero Banner Styles */
.hero-banner {
    height: 100vh;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 10vh;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    /* position: relative; */
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 300;
	color: #ffffff;
	/* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
	padding: 0 30px;
	margin-bottom: 30px;
}

.hero-logo {
    max-height: 200px;
    max-width: 100%;
    height: auto;
    /* filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7)); */
    padding: 0 20px;
  margin-bottom: 30px;
}

/* Hero More Button */
.hero-more-btn {
	position: absolute;
	bottom: 17%;
	left: 50%;
	transform: translateX(-50%);
	padding: 12px 30px;
	font-size: 1.1rem;
	font-weight: 500;
	border: none;
    background: rgba(141, 206, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	text-wrap: nowrap;
    color: #ffffff !important;
}

.hero-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    /* transform: translateX(-50%) translateY(-5px); */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
}

/* Responsive hero styles */
@media (max-width: 768px) {
    /* .hero-banner {
        padding-top: 80px;
    } */
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        max-height: 120px;
        margin-bottom: 1.5rem;
    }
    
    /* Stack logo above text on mobile, both centered */
    .hero-banner .row {
        flex-direction: column;
    }
    
    .hero-banner .col-md-6 {
        text-align: center !important;
    }
}

/* Dark theme hero adjustments */
/* [data-bs-theme="dark"] .hero-banner::before {
    background: rgba(0, 0, 0, 0.6);
}
/* Dark theme hero adjustments */
/* [data-bs-theme="light"] .hero-banner::before {
    background: rgba(0, 0, 0, 0.4);
}  */

footer {
    background: #01395E;
    padding: 20px 0;
    margin-top: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #ffffff;
}

/* Dark theme styles */
body[data-bs-theme="dark"]  {
    background-color: #3D3D3D !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] h3{
    color: #01518E !important;
}

[data-bs-theme="dark"] h3{
    color: #8DCEFF !important;
}


[data-bs-theme="dark"] footer {
    background-color: #3D3D3D !important;
}

[data-bs-theme="dark"] a {
    color:#8DCEFF;
}

[data-bs-theme="dark"] a:hover {
    color:#01518E;
}

[data-bs-theme="dark"] .quote {
    color:#ffffff;
}



[data-bs-theme="dark"] .transparent-navbar {
	background-color: rgba(255, 255, 255, 0.1) !important;
}
/* Theme toggle button styles */
#themeToggle {
	border-radius: 50%;
	width: 38px;
	height: 38px;
	transition: all 0.3s ease;
	margin-top: 20px;
}

#themeToggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(390deg);
    color:#8DCEFF !important;
    border-color: #8DCEFF !important;
}

[data-bs-theme="dark"] #themeToggle {
    border-color: #ffffff;
    color: #ffffff;
}

[data-bs-theme="dark"] #themeToggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Language toggle button styles */
#langToggle {
	border-radius: 20px;
	padding: 8px 12px;
	font-size: 0.85rem;
	font-weight: 500;
	transition: all 0.3s ease;
	margin-top: 6px;
	margin-left: 8px;
	/* display: inline-block; */
	/* vertical-align: sub; */
    background: rgba(141, 206, 255, 0.15);
    border: none;
    color: #ffffff;
}

#langToggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    /* transform: scale(1.05); */
}

[data-bs-theme="dark"] #langToggle {
    /* border-color: #ffffff;
    color: #ffffff; */
}

[data-bs-theme="dark"] #langToggle:hover {
    /* background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff; */
    /* color: #ffffff !important; */
}

/* Alexandria font typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Alexandria', sans-serif;
    color: #8DCEFF;
}

h2 {
	font-weight: 400;
	font-size: 70px;
	line-height: 93px;
	letter-spacing: 0%;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 80px;
}

h3 {
	font-weight: 400;
	font-size: 34px;
	line-height: 100%;
	letter-spacing: 0%;
	margin-bottom: 30px;
}

/* Optional: Apply Alexandria to body for consistent typography */
body {
    font-family: 'Alexandria', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 34px;
    letter-spacing: 0%;

}

#clients {
    background-color: #8DCEFF26;
}

#clients .row {
	margin: 0 20px;
	padding: 80px 20px;
}

#clients .row>div {
	padding: 20px;
}

/* Client logos styling */
.client-logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

/* Theme-specific logo visibility */
/* Light mode: show light logos, hide dark logos */
body:not([data-bs-theme="dark"]) .client-logo-dark {
    display: none;
}

body:not([data-bs-theme="dark"]) .client-logo-light {
    display: block;
}

body:not([data-bs-theme="dark"]) .contact-logo-dark {
    display: none;
}

body:not([data-bs-theme="dark"]) .contact-logo-light {
    display: block;
}

/* Dark mode: show dark logos, hide light logos */
[data-bs-theme="dark"] .client-logo-light, [data-bs-theme="dark"] .contact-logo-light {
    display: none;
}

[data-bs-theme="dark"] .client-logo-dark, [data-bs-theme="dark"] .contact-logo-dark {
    display: block;
}

#portfolio, #contact {
	padding-top: 80px;
}
 #contact {
	padding-bottom: 50px;
    background-image: url('bg2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.row.spacer-top {
    margin-top: 80px;
}

.service-icon {
	margin-bottom: 40px;
	margin-top: 20px;
}

.service-icon-bootstrap {
	font-size: 4rem;
	margin-bottom: 40px;
	margin-top: 20px;
	color: #8DCEFF;
	display: block;
}

/* Dark theme styling for Bootstrap service icons */
[data-bs-theme="dark"] .service-icon-bootstrap {
	color: #ffffff;
}

.contact-logo {
	max-height: 60px;
	width: 100%;
	margin: 30px 0;
}

/* Responsive Typography */
@media (max-width: 576px) {
    /* Extra small devices */
    /* .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        padding: 0 15px !important;
    } */
    
    h2 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    /* Small devices */
    /* .hero-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        padding: 0 20px !important;
    } */
    
    h2 {
        font-size: 3rem !important;
        line-height: 1.2 !important;
    }
    
    h3 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    /* Medium devices */
    .hero-subtitle {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
    
    h2 {
        font-size: 3.5rem !important;
        line-height: 1.2 !important;
    }
    
    h3 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
}

@media (min-width: 993px) {
    /* Large devices and up */
    .hero-subtitle {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }
}

.transparent-navbar .nav-link:hover {
	color: #8DCEFF !important;
}

.section {
	background-color: #000000;
}

[data-bs-theme="light"] .section{
    background-color: #ffffff !important;
}

#contact {
	padding-bottom: 50px;
	background-image: url('bg2.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	/* backdrop-filter: blur(10px); */
	background-blend-mode: multiply;
	background-color: rgba(0, 0, 0, 0.9);
}

/* Parallax fallback for mobile devices */
@media (max-width: 768px) {
    #contact, .hero-banner {
        /* background-attachment: scroll; */
    }
}

[data-bs-theme="light"] #contact {
	background-color: rgba(255, 255, 255, 1) !important;
	background-blend-mode: normal;
    background-image: url('bg2-white.jpg');
}
