/* ------------------------------------------------------------------------------
 Template Name: Ramsay
 Description: Ramsay - Creative Personal Onepage HTML Template
 Author: Paul_tf
 Author URI: http://themeforest.net/user/paul_tf
 Version: 1.0
-------------------------------------------------------------------------------*/

/* 1. Global */
@import url('bootstrap.min.css');
@import url('bootstrap-grid.min.css');
@import url('animate.css');
@import url('ionicons.min.css');
@import url('linearicons.css');
@import url('animsition.css');
@import url('magnific-popup.css');
@import url('jquery.pagepiling.css');
@import url('owl.carousel.css');

html{
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body{
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.9428;
  color: #717171;
  background: #1b1b1b;
  -webkit-overflow-scrolling:touch;
}
::-webkit-scrollbar{
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #808080;
}
::selection{
  background-color:#808080;
  color:#fff;
}
-webkit-::selection{
  background-color:#808080;
  color:#fff;
}
::-moz-selection{
  background-color:#808080;
  color:#fff;
}

/* Typography */
h1, .h1{ font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 3.428rem; line-height: 1.2; font-weight: 600; color: #fff; letter-spacing: -0.025em; margin:0.5em 0; }
h2, .h2{ font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 3.371rem; line-height: 1.166; color: #fff; letter-spacing: 0; margin:2.6rem 0; }
h3, .h3{ font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 2.142rem; line-height: 1.2; letter-spacing: -0.05em; color: #fff; margin:2.6rem 0; }
h4, .h4{ font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.714rem; line-height: 1.25; letter-spacing: 0.025em; color: #fff; margin:2.6rem 0; }
h5, .h5{ font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.571rem; line-height: 1.1; letter-spacing:0; color: #fff; margin:2.6rem 0; }
h6, .h6{ font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.285rem; line-height: 1.3333; letter-spacing:0; color: #fff; margin:2.6rem 0; }
h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a, h6 a, .h6 a{ color:inherit; }
h1 a:hover, .h1 a:hover, h2 a:hover, .h2 a:hover, h3 a:hover, .h3 a:hover, h4 a:hover, .h4 a:hover, h5 a:hover, .h5 a:hover, h6 a:hover, .h6 a:hover{ text-decoration: none; }
strong{ font-weight: 600; }
p, blockquote{ margin-bottom: 2rem; }
a { color:#808080; -webkit-transition: color .3s ease-out; -o-transition: color .3s ease-out; transition: color .3s ease-out; }
a:hover { color:#f5468b; outline: none; }
a:focus{ text-decoration: none; }
.lead { font-size: 1.1rem; color: #ccc; }

/* Fields */
input[type='text'], input[type='address'], input[type='url'], input[type='password'], input[type='email'], input[type="search"], input[type="tel"], textarea{ display: inline-block; width:100%; font-size: 1rem; color: #fff; background-color:#2f2f2f; border:1px solid #444; border-radius: 8px; padding: 0.8rem 1rem; transition: all .3s; }
textarea{ padding-top: 0.8rem; height: 15rem; resize:none; }
input[type='text']:focus, input[type='address']:focus, input[type='url']:focus, input[type='password']:focus, input[type='email']:focus, input[type="search"]:focus, input[type="tel"]:focus, textarea:focus{ border-color: #808080; outline: 0; color: #fff; background-color: #333; }
.form-group{ margin-bottom: 30px; }
label.error{ color: #fff; margin:0.8rem 0 0; }

/* Buttons */
.btn{ color:#fff; letter-spacing: 0.025em; font-size: 1rem; display: inline-block; border:0; border-radius: 50px; padding: 1.1em 2.28em 1em; background-color: #808080; text-decoration: none; transition: all .3s ease-out!important; }
.btn:hover, .btn:focus{ background-color:#f5468b; color: #fff; box-shadow: 0 5px 15px rgba(245, 70, 139, 0.4); transform: translateY(-3px); outline: none!important; }

/* Preloader */
.animsition{ position:absolute; z-index: 1000; left: 0; width: 100%; top:0; height: 100%; }
.loader{ position: fixed; overflow: hidden; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background:#1b1b1b; text-align: center; }
.spinner { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; transform: translate(-50%, -50%); }
.double-bounce1, .double-bounce2 { width: 100%; height: 100%; border-radius: 50%; background-color: #808080; opacity: 0.6; position: absolute; top: 0; left: 0; animation: sk-bounce 2.0s infinite ease-in-out; }
.double-bounce2 { animation-delay: -1.0s; }
@keyframes sk-bounce { 0%, 100% { transform: scale(0.0); } 50% { transform: scale(1.0); } }

/* Helpers */
.text-muted{ color: #999!important; }
.text-white{ color: #fff; }
.text-primary{ color:#808080!important; }

/* 2. Navbar */
.navbar{ position: absolute; display:block; z-index: 101; left:0; top:0; width:100%; padding-top: 2rem; padding-bottom: 2rem; color: #fff; margin:0; border-radius: 0; }
.navbar-bg{ content: ''; position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 0; background: #272727; z-index: -1; box-shadow: none; transition: all 0.3s cubic-bezier(0.37, 0.31, 0.2, 0.85); }
.navbar-fixed{ position: fixed; }
.navbar-fixed .navbar-bg{ height: 100%; box-shadow: 0 0 35px rgba(0,0,0,0.2); }
.navbar .brand{ float: left; transition: none; }
.brand{ line-height: 1.6; color: #fff; display: inline-block; }
a.brand:hover, a.brand:focus{ text-decoration: none; color: #fff; }
.brand img{ display: inline-block; vertical-align:middle; margin-right: 0.65rem; }
.brand-info{ display: inline-block; vertical-align: middle; }
.brand-name{ font-weight: 600; font-size: 1.714rem; line-height: 1; }
.navbar-toggle{ float: right; display: block; margin: 0; padding: 0; border-radius: 0; background: none; border: 0; margin-top:0.8rem; }
.navbar-toggle:focus{ outline:none; }
.navbar-toggle .icon-bar{ background-color: #fff; transition: all 0.3s ease; display: block; width: 22px; height: 2px; border-radius: 1px; }
.navbar-toggle .icon-bar+.icon-bar { margin-top: 4px; }
.navbar-toggle:hover .icon-bar{ background-color: #808080; }
.social-list{ overflow:hidden; }
.social-list-bottom{ display: none; position: absolute; z-index: 10; right:0; bottom:2.4rem; color: #000; }
.social-list a{ float: left; font-size: 1.428rem; line-height: 1; color:#fff; margin-left: 2rem; }
.social-list a:first-child{ margin-left: 0; }
.social-list a:hover{ color:#808080; text-decoration: none; }
.contacts{ float: left; margin-left: 9rem; margin-top:0.5rem; }
.contacts .contact-item{ display: inline-block; color: #fff; margin-right:2rem; }
.contacts .contact-item a{ color: #fff; }
.contacts .contact-item.spacer{ opacity: 0.3; }
#success, #error{ display:none; }
.form-group-message{ display:none; }

/* Sidebar menu */
.click-capture{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; visibility: hidden; z-index: 99; opacity: 0; background: rgba(0,0,0,.3); transition: opacity .5s; }
.menu{ position: fixed; top:0; bottom:0; right: 0; width: 100%; z-index: 102; background-color: #1b1b1b; transform: translateX(100%); transition: all 0.6s ease; }
.close-menu{ position: absolute; z-index: 2; top: 2.3rem; font-size: 1.6rem; line-height: 1; color: #fff; cursor: pointer; margin-top:0.8rem; transition: all 0.3s ease; }
.close-menu:hover{ color: #808080; }
.menu-list{ opacity: 0; position: absolute; left: 0; top:5rem; bottom:10.5rem; padding-left: 15%; overflow-x:hidden; overflow-y:auto; -webkit-overflow-scrolling:touch; font-weight: 600; list-style: none; margin:0; transform: translateY(3rem); transition: transform 0.5s 0.6s ease, opacity 0.5s 0.6s ease; }
.menu-list li a{ color: #636363; }
.menu-list .active > a, .menu-list li a:hover{ text-decoration: none; color: #fff; }
.menu-list > li{ font-size: 1.65rem; line-height: 1; margin-top: 2.7rem; }
.menu-list > li:first-child{ margin-top: 0; }
.menu-footer{ position: absolute; left: 15%; bottom: 4rem; }
.menu-footer .social-list{ opacity: 0; transform: translateY(3rem); transition: all 0.5s 0.7s ease; }
.menu-footer .social-list a{ color: #7e7e7e; margin:0; margin-right:2.7rem; }
.menu-footer .social-list a:hover{ color:#808080; }
.menu-footer .copy{ opacity: 0; display: none; margin-top: 3.2rem; color: #fff; line-height: 1.71rem; transform: translateY(2rem); transition: all 0.5s 0.9s ease; }
.menu-is-opened .click-capture{ visibility: visible; opacity: 1; }
.menu-is-opened .menu{ transform: translateX(0); box-shadow: 0 0 25px rgba(0,0,0,0.07); }
.menu-is-opened .menu .menu-list, .menu-is-opened .menu .menu-footer .social-list, .menu-is-opened .menu .menu-footer .copy{ transform: translate(0); opacity: 1; }

/* 3. Homepage */
.boxed{ padding-left: 1.7rem; padding-right: 1.7rem; }
.right-boxed{ right:1.7rem!important; }
.copy-bottom{ display: none; position: absolute; z-index: 10; left:0; bottom:2.4rem; color: #000; }
.copy-bottom.white{ color: #fff; }
#pp-nav{ z-index: 100; width: 2.1428rem; margin-top:0!important; transform: translateY(-50%); }
#pp-nav.right{ right:0; }
#pp-nav .pp-nav-up, #pp-nav .pp-nav-down{ display: none; font-size: 1.3428rem; cursor: pointer; color: #000; text-align: center; transition: all 0.3s ease; }
#pp-nav .pp-nav-up{ margin-bottom: 3.5rem; }
#pp-nav .pp-nav-down{ margin-top: 3.5rem; }
#pp-nav li, .pp-slidesNav li{ margin:1.928rem auto; width: 10px; height: 10px; }
#pp-nav span, .pp-slidesNav span{ left: 0; top: 0; cursor: pointer; width: 8px; height: 8px; background: #000; border: 0; transition: all 0.3s ease; }
#pp-nav.white span, .pp-slidesNav span{ background: #fff; }
#pp-nav li .active span, .pp-slidesNav .active span{ opacity: 1; background: #808080; transform:scale(1.6); }

/* Sections */
.pagepiling .section{ background: #1b1b1b; padding-top: 10.3rem; padding-bottom: 6rem; }
.pagepiling .pp-scrollable{ padding: 0; overflow-x:hidden; }
.pp-scrollable .vertical-centred{ padding-top: 10.3rem; padding-bottom: 6rem; }
.scroll-wrap{ position: relative; min-height: 100%; }
.scrollable-content{ white-space: nowrap; width: 100%; font-size: 0; }
.scrollable-content:before{ content: ''; display: inline-block; height: 100vh; vertical-align: middle; }
.vertical-centred{ width: 100%; height: 100%; display: inline-block; vertical-align: middle; white-space: normal; font-size: 1rem; }
.section-bg{ position: absolute; left: 0; top:0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.vertical-title{ position: absolute; text-align: center; font-weight: 600; opacity: 0.05; font-size:9rem; top: 50%; left:8rem; transform: translateY(-50%); }
.vertical-title span{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); opacity: 0; overflow: hidden; transition: all 0.5s 0.6s; white-space: nowrap; letter-spacing: 2.5rem; }
.section.active .vertical-title span{ letter-spacing: 0; opacity: 1; }
.title{ letter-spacing: -0.025em; line-height: 1.33333; margin:0 0 3rem; }
.display-2{ font-size: 6.54rem; font-weight: 600; line-height: 1; letter-spacing: -0.05em; margin: 0; }

/* Specialization Section */
.icon-specialization{ font-size:5rem; color:#808080; }
.row-specialization{ margin:0 -2rem; }
.col-specialization{ padding:0 2rem; }

/* Modern Service Section */
.section-4 { background: radial-gradient(circle at top left, #111 0%, #000 100%); position: relative; overflow: hidden; color: #fff; }
.section-4::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 10, 0.4); z-index: 0; }
.section-4 .container { position: relative; z-index: 2; }
.section-4 .title { font-size: 42px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 60px; text-align: center; background: linear-gradient(90deg, #00d4ff, #007bff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.service-box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 40px 25px; backdrop-filter: blur(10px); text-align: center; transition: all 0.4s ease; height: 100%; position: relative; overflow: hidden; }
.service-box:hover { background: rgba(0, 123, 255, 0.1); border-color: rgba(0, 123, 255, 0.5); transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 35px rgba(0, 123, 255, 0.25); }
.service-box h4 { font-weight: 600; font-size: 22px; margin-bottom: 15px; color: #fff; }
.service-box p { color: #ccc; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }
.service-box .btn { background: linear-gradient(90deg, #00c6ff, #0072ff); color: #fff; border: none; padding: 10px 25px; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; position: relative; z-index: 2; }
.service-box .btn:hover { background: linear-gradient(90deg, #0072ff, #00c6ff); box-shadow: 0 0 20px rgba(0, 123, 255, 0.6); transform: translateY(-2px); }

/* Responsive */
@media (min-width: 768px){ html{ font-size: 13px; } .boxed{ padding-left: 3rem; padding-right: 3rem; } .right-boxed{ right: 3rem!important; } }
@media (min-width: 992px){ html{ font-size: 14px; } .navbar{ padding:2.7rem 0; } .menu{ width:35%; max-width: 35rem; } .boxed{ padding-left: 4.2857rem; padding-right: 4.2857rem; } .right-boxed{ right:4rem!important; } }
@media (min-height: 500px){ #pp-nav .pp-nav-up, #pp-nav .pp-nav-down{ display: block; } }
@media (min-height: 700px){ .copy-bottom, .social-list-bottom{ display: block; } }

/* --- About Me Section Background (for Glassmorphism effect) --- */
.section-6 {
  background-image: linear-gradient(45deg, #232526, #414345);
}

/* --- Glassmorphism Profile Image --- */
.glass-card {
    background: rgba(255, 255, 255, 0.05); /* Frosted glass color */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.4s ease;
    width: clamp(280px, 80%, 380px);
    margin: 0 auto;
}
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px; /* Inner radius for the image */
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
}