/* -----------------------------------------------------------------------------------

01. Typography style
02. Preloader style
03. Owl-Theme Custom style
04. Section style
55. Customized Navbar, and Top Styles
 
----------------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #f8cb03;
    --primary-teal: rgb(6, 119, 156);
    --dark-blue: #1A3A52;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --secondary-teal: #00796B;
    --secondary-blue: #1A3A52;
    --accent-gold: #FFB300;
}

html,
body {
    font-size: 100%;
    font-family: 'Prompt', sans-serif;
    background: #ffffff;
    margin: 0;
    color: var(--text-dark);
}

p,
ul li,
ol li {
    margin: 0;
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Prompt', sans-serif;
    margin: 0;
}

ul,
label {
    margin: 0;
    padding: 0;
}

body a:hover {
    text-decoration: none;
}

input[type="submit"],
input[type="reset"],
a,
.w3_agileits_services1_grid1 {
    -webkit-transition: 0.5s ease-in;
    -moz-transition: 0.5s ease-in;
    -ms-transition: 0.5s ease-in;
    -o-transition: 0.5s ease-in;
    transition: 0.5s ease-in;
}

/*-- banner --*/
.header {
    background: #339eae;
    padding: 0.5em 2em;
    position: relative;
}

.header_left {
    float: left;
    margin: 10px 0;
}

.header_right {
    float: right;
}

.header_left ul li {
    color: #fff;
    list-style-type: none;
    font-size: 14px;
    display: inline-block;
    padding: 0px 12px 0px 0;
}

.header_left ul li span {
    top: 1px;
    font-size: 12px;
    margin-right: 4px;
    padding: 4px 5px;
    border-radius: 3px;
    color: #fff;
}

.header_left ul li a {
    color: #fff;
    text-decoration: none;
}

.header_left ul li a:hover {
    color: #FF9800;
}

/*-- social-icons --*/
.agileinfo-social-grids {
    float: right;
    margin: 0em 0 0 0;
}

.agileinfo-social-grids ul {
    padding: 0;
    margin: 0;
}

.agileinfo-social-grids ul li {
    display: inline-block;
}

.agileinfo-social-grids ul li a {
    color: #333;
    text-align: center;
    font-size: 17px;
}

.agileinfo-social-grids ul li a i.fa.fa-facebook,
.agileinfo-social-grids ul li a i.fa.fa-twitter,
.agileinfo-social-grids ul li a i.fa.fa-rss {
    color: #339eae;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.agileinfo-social-grids ul li a i.fa.fa-facebook:hover {
    color: #3b5998;
}

.agileinfo-social-grids ul li a i.fa.fa-twitter {
    margin: 0 1em;
}

.agileinfo-social-grids ul li a i.fa.fa-twitter:hover {
    color: #55acee;
}

.agileinfo-social-grids ul li a i.fa.fa-rss {
    margin: 0 1em 0 0;
}

.agileinfo-social-grids ul li a i.fa.fa-rss:hover {
    color: #f26522;
}

.agileinfo-social-grids ul li:nth-child(2) {
    margin: .5em 0;
}

/*-- //social-icons --*/
/*--search--*/
.cd-main-header {
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.cd-main-header {
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}

.cd-main-content.nav-is-visible,
.cd-main-header.nav-is-visible {
    -webkit-transform: translateX(-260px);
    -moz-transform: translateX(-260px);
    -ms-transform: translateX(-260px);
    -o-transform: translateX(-260px);
    transform: translateX(-260px);
}

.nav-on-left .cd-main-content.nav-is-visible,
.nav-on-left .cd-main-header.nav-is-visible {
    -webkit-transform: translateX(260px);
    -moz-transform: translateX(260px);
    -ms-transform: translateX(260px);
    -o-transform: translateX(260px);
    transform: translateX(260px);
}

.cd-header-buttons {
    position: absolute;
    display: inline-block;
    top: 0px;
    right: 0%;
}

.cd-header-buttons li {
    display: inline-block;
}

.cd-search-trigger,
.cd-nav-trigger {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
    z-index: 3;
}

.cd-search-trigger::before,
.cd-search-trigger::after {
    /* search icon */
    content: '';
    position: absolute;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cd-search-trigger::before {
    /* lens */
    top: 11px;
    left: 11px;
    width: 18px;
    height: 18px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 3px solid #fff;
}

.cd-search-trigger::after {
    /* handle */
    height: 3px;
    width: 8px;
    background: #fff;
    bottom: 14px;
    right: 11px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cd-search-trigger span {
    /* container for the X icon */
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.cd-search-trigger span::before,
.cd-search-trigger span::after {
    /* close icon */
    content: '';
    position: absolute;
    display: inline-block;
    height: 3px;
    width: 22px;
    top: 50%;
    margin-top: -2px;
    left: 50%;
    margin-left: -11px;
    background: #fff;
    opacity: 0;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.cd-search-trigger span::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cd-search-trigger span::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.cd-search-trigger.search-is-visible::before,
.cd-search-trigger.search-is-visible::after {
    /* hide search icon */
    -moz-opacity: 0;
    opacity: 0;
}

.cd-search-trigger.search-is-visible span::before,
.cd-search-trigger.search-is-visible span::after {
    /* show close icon */
    -moz-opacity: 1;
    opacity: 1;
}

.cd-search-trigger.search-is-visible span::before {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.cd-search-trigger.search-is-visible span::after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cd-search {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-search input {
    border-radius: 0;
    border: none;
    background: #f79820;
    width: 100%;
    padding: 0 5%;
    -webkit-box-shadow: inset 0 1px 0 #e2e3df, 0 3px 6px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 #e2e3df, 0 3px 6px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 #e2e3df, 0 3px 6px rgba(0, 0, 0, 0.05);
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    font-size: 1em;
    padding: 1em 2em;
    color: #fff;
}

.cd-search input::-webkit-input-placeholder {
    color: #fff !important;
}

.cd-search input::-moz-placeholder {
    color: #fff !important;
}

.cd-search input:-moz-placeholder {
    color: #fff !important;
}

.cd-search input:-ms-input-placeholder {
    color: #fff !important;
}

.cd-search input:focus {
    outline: none;
}

.cd-search.is-visible {
    -moz-opacity: 1;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

/*--//search--*/
.banner {
    background: url(../images/banner.jpg) no-repeat 0px 0px;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    min-height: 650px;
    position: relative;
}

.banner1 {
    background: url(../images/banner.jpg) no-repeat 0px 0px;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    min-height: 250px;
}

/*-- nav --*/
.navbar-default {
    background: none;
    border: none;
}

.navbar {
    margin-bottom: 0;
}

.navbar-collapse {
    padding: 0;
}

.navbar-right {
    margin-right: 0;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #ec9114;
    background: none;
}

.navbar-default .navbar-nav>li>a {
    font-weight: 500;
    letter-spacing: 1px;
}

.navbar-nav>li>a {
    margin: 0;
    padding: 0 1.5em;
    text-transform: uppercase;
}

.navbar-default .navbar-nav>li>a:hover {
    color: #ec9114;
}

.navbar-default .navbar-nav>li>a:focus {
    color: #fff;
    outline: none;
}

nav.navbar.navbar-default {
    background: none;
    padding: 1em 2em;
}

.navbar-right {
    float: left !important;
    margin: 0.7em 0 0 18em;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    color: #000;
    background: none;
}

.navbar-default .navbar-nav>li>a {
    color: #000;
}

.navbar-default .navbar-nav>.active.open>a:focus {
    background: transparent;
    color: #000;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #339eae;
}

.navbar-brand {
    height: 42px;
    padding: 0;
    font-size: 1.1em;
    line-height: 35px;
    letter-spacing: 2px;
}

.navbar-brand span {
    color: #f79820;
}

.link-effect-2 a {
    overflow: hidden;
    font-weight: 400;
}

.link-effect-2 a span {
    position: relative;
    display: inline-block;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.link-effect-2 a span::before {
    color: #ec9114;
    position: absolute;
    top: 100%;
    content: attr(data-hover);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.link-effect-2 a:hover span {
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.agile_short_dropdown {
    border-radius: 0;
    background: #ffffff;
    text-align: center;
    padding: 0;
    border: none;
}

.agile_short_dropdown li a {
    text-transform: uppercase;
    color: #212121;
    font-size: 13px;
    font-weight: 600;
    padding: .8em 0;
}

.agile_short_dropdown>li>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #ec9114;
}

.w3_agile_phone {
    float: right;
    margin: 1.3em 0 0;
}

.w3_agile_phone p {
    color: #fff;
    font-weight: 600;
}

.w3_agile_phone p i {
    padding-right: 1em;
}

/*-- banner --*/
.agileits_w3layouts_banner_info {
    margin: 16em 0 0;
    position: relative;
}

.agileits_w3layouts_banner_info_pos {
    margin-top: 8em;
    text-align: center;
}

.agileits_w3layouts_banner_info_pos1 h4 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.agileits_w3layouts_banner_info_pos ul li {
    display: inline-block;
    position: relative;
    font-size: 16px;
}

.agileits_w3layouts_banner_info_pos ul li label {
    position: absolute;
    top: 10px;
    width: 60px;
    height: 2px;
    background: #f79820;
    display: inline-block;
    margin-left: 6px;
}

.agileits_w3layouts_banner_info_pos ul li {
    padding: 0 6em 0 0;
}

.agileits_w3layouts_banner_info_pos ul li a {
    color: #fff;
    text-decoration: none;
}

.agileits_w3layouts_banner_info h3 {
    text-align: center;
    font-size: 3em;
    color: #f79820;
    text-transform: uppercase;
}

.agileits_w3layouts_banner_info p {
    color: #ffffff;
    text-align: center;
    line-height: 28px;
    width: 63%;
    margin: 30px auto;
    font-size: 17px;
}

/*-- banner-bottom-icons --*/
.banner-bottom-icons {
    padding: 5em 0;
}

.w3_banner_bottom_icons_left,
.w3_banner_bottom_icons_right {
    padding: 0;
}

.w3_banner_bottom_icons_right {
    border-bottom: 1px solid #f5f5f5;
}

.w3_banner_bottom_icons1 {
    border-right: 1px solid #f5f5f5;
    border-top: 1px solid #f5f5f5;
    padding: 0.35em;
    text-align: center;
}

.w3_banner_bottom_icons1 i {
    font-size: 2em;
    color: #fff;
    font-family: FontAwesome;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    font-style: normal;
    display: inline-block;
    background: #13b3bb;
    line-height: 2.5em;
}

.fa-car:before {
    content: "\f1b9";
}

.fa-bell:before {
    content: "\f0f3";
}

.fa-credit-card:before {
    content: "\f2bc";
}

.fa-thumbs-up:before {
    content: "\f164";
}

.w3_banner_bottom_icons1 h3 {
    font-size: 1.2em;
    color: #212121;
    text-transform: uppercase;
    margin: 1em 0;
    position: relative;
    padding-bottom: .8em;
}

.w3_banner_bottom_icons1 h3:before {
    content: '';
    background: #13b3bb;
    width: 25%;
    height: 2px;
    position: absolute;
    left: 36.9%;
    bottom: 0%;
}

.w3_banner_bottom_icons1 p {
    color: #999;
    line-height: 2em;
}

.w3_banner_bottom_icons1_effect {
    position: relative;
    overflow: hidden;
    display: inline-block;
    -moz-transition: ease-out 0.3s;
    -o-transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    transition: ease-out 0.3s;
    padding: 1em;
}

.w3_banner_bottom_icons1_effect::before {
    width: 80px;
    height: 80px;
    background: transparent;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    border-right: 2px solid #b1b1b1;
    border-top: 2px solid #b1b1b1;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
}

.w3_banner_bottom_icons1_effect::after {
    width: 80px;
    height: 80px;
    background: transparent;
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    border-left: 2px solid #b1b1b1;
    border-bottom: 2px solid #b1b1b1;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
}

.w3_banner_bottom_icons1:hover .w3_banner_bottom_icons1_effect::before {
    opacity: 1;
    right: 5px;
    top: 5px;
}

.w3_banner_bottom_icons1:hover .w3_banner_bottom_icons1_effect::after {
    opacity: 1;
    left: 5px;
    bottom: 5px;
}

.w3_banner_bottom_icons1:hover {
    background: #f5f5f5;
}

.w3_agile_banner_bottom {
    position: relative;
}

.w3_agile_banner_bottom figure,
.w3ls_featured_services_grid figure {
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

/* Circle */
.hover15 figure {
    position: relative;
}

.hover15 figure::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .2);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hover15 figure:hover::before,
.w3ls_team_grid:hover .hover15 figure::before,
.banner-bottom-icons:hover .hover15 figure::before,
.w3_featured_services_grid:hover .hover15 figure::before {
    -webkit-animation: circle .75s;
    animation: circle .75s;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/*-- //banner-bottom-icons --*/
/*-- register --*/
.register {
    background: url(../images/mid-banner.jpg) no-repeat 0px 0px;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-attachment: fixed;
}

.w3layouts_register_left {
    margin: 6.5em 0 0;
}

.w3layouts_register_left h3 {
    font-size: 2.5em;
    color: #fff;
}

.w3layouts_register_left h3 span {
    color: #f79820;
}

.w3layouts_register_left p {
    margin: 2em 0 0;
    color: #fff;
    line-height: 2em;
}

.w3layouts_register_right form {
    width: 80%;
    padding: 2em;
    background: rgba(51, 158, 174, 0.62);
}

.w3layouts_register_right input[type="text"],
.w3layouts_register_right input[type="email"] {
    outline: none;
    background: #fff;
    padding: 12px;
    border: none;
    font-size: 14px;
    color: #212121;
    width: 100%;
}

.w3layouts_register_right input[type="email"] {
    margin: 1.5em 0;
}

.w3layouts_register_right input[type="submit"] {
    outline: none;
    background: #f79820;
    padding: 12px 0;
    border: none;
    font-size: 1em;
    color: #fff;
    width: 100%;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
}

.w3layouts_register_right input[type="submit"]:hover {
    background: #13b3bb;
}

.w3layouts_register_right input[type="text"]:nth-child(2),
.w3layouts_register_right input[type="submit"] {
    margin: 1.5em 0 0;
}

/*-- //register --*/
/*-- about --*/
.about {
    padding: 5em 0;
}

p.ever {
    font-size: 14px;
    color: #999;
    margin: 1em 0 0;
    text-align: center;
}

.about-grid1 {
    background: #13b3bb;
    padding: 2em 2em 2em 10em;
    position: relative;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.about-grid1:hover {
    background: #54d2d8;
}

.about-grid1:hover .hji p {
    color: #fff;
}

.about-grid1:hover .itis h4 {
    color: #f79820;
}

.about-grid1-pos {
    position: absolute;
    top: -10%;
    left: -11%;
}

.about-grid1 h4 {
    text-transform: uppercase;
    font-size: 1.3em;
    margin: 0;
    color: #fff;
}

.about-grid1 p {
    color: #212121;
    font-size: 14px;
    margin: 1em 0 0;
    line-height: 1.8em;
}

.about-grids:nth-child(3) {
    margin: 5em 0 3em;
}

.about-grid2-left {
    padding: 1.8em;
    border-radius: 50%;
    background: #E8E8E8;
}

.about-grid2-left p {
    text-align: center;
    color: #E47719;
    font-size: 1.5em;
    margin: 0;
    font-family: 'Comfortaa', cursive;
}

.about-grid2-right p {
    font-size: 14px;
    color: #999;
    margin: 0;
    line-height: 1.8em;
    position: relative;
}

.about-grid2 {
    margin: 3em 0 0;
}

.about-grd1 {
    padding: 2em 10em 2em 2em;
}

.about-grid1-pos1 {
    position: absolute;
    top: -10%;
    right: -11%;
}

.login {
    text-align: center;
    margin: 4em 0 0;
}

.login a {
    font-size: 16px;
    color: #999;
    padding: 12px 55px;
    background: #fff;
    text-decoration: none;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.login a:hover {
    background: #0e7095;
    color: #fff;
}

/* ============================================
   WELCOME SECTION - Elegant & Professional
   ============================================ */
.welcome-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-orange));
}

.w3l-heading {
    text-align: center;
    margin-bottom: 60px;
}

.w3ls_head {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-teal);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

.w3ls_head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* Video Container - Enhanced Design */
.video-container {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 121, 107, 0.15);
    background: var(--dark-blue);
    transition: all 0.4s ease;
    height: 70vh;
}

.video-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 121, 107, 0.25);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #1a3a52;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Welcome Content - Refined Typography */
.welcome-intro {
    padding-left: 40px;
}

.welcome-intro h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-align: justify;
}

.welcome-intro>p {
    font-size: 18px;
    line-height: 1.9;
    color: #5a6c7d;
    margin-bottom: 40px;
    font-weight: 400;
}

@media (max-width: 992px),
(max-width: 768px),
(max-width: 480px) {
    .video-container {
        height: 50vh;
    }

    .welcome-intro {
        padding-left: 0px;
    }

    .w3l-heading {
        text-align: center;
        margin-bottom: 5px;
    }

    .welcome-intro h3 {
        text-align: center;
    }

    .welcome-intro>p {
        text-align: justify;
    }
}

/* Key Highlights - Premium Design */
.key-highlights {
    margin: 45px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 121, 107, 0.12);
    border-left-color: var(--primary-teal);
}

.highlight-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    color: white;
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-item h5 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 0 0 8px 0;
}

.highlight-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* Welcome Actions - Modern Buttons */
.welcome-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.welcome-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.welcome-actions .btn-primary {
    background: var(--primary-teal);
    color: white;
    box-shadow: 0 6px 25px rgba(0, 121, 107, 0.3);
}

.welcome-actions .btn-primary:hover {
    background: #00695c;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 121, 107, 0.4);
}

.welcome-actions .btn-secondary {
    background: white;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.welcome-actions .btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
}

/* Quick Stats - Professional Card Design */
.quick-stats {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-teal), #00695c);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 121, 107, 0.2);
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/*-- news-letter --*/
.news-letter {
    background: #e5eff1;
    padding: 5em 0;
}

.wthree-subscribe h3 {
    color: #212121;
}

.news-letter input[type="text"],
.news-letter input[type="email"] {
    outline: none;
    padding: 1em;
    color: #848484;
    font-size: .9em;
    border: 1px solid #cdcdcd;
    width: 42%;
    float: left;
    background: #ffffff;
    margin-right: 2%;
}

.news-letter input[type="submit"] {
    color: #FFFFFF;
    background: #212121;
    border: none;
    padding: 1em;
    border: 1px solid #212121;
    font-size: .9em;
    outline: none;
    text-transform: uppercase;
    float: left;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.news-letter input[type="submit"]:hover {
    border: 1px solid #212121;
    color: #212121;
    background: none;
}

/*-- footer --*/
.w3-agile-footer {
    background: #191d20;
    padding: 5em 0;
}

.footer-grid-heading h4 {
    color: #ffffff;
    font-size: 2em;
    margin: 0;
}

.footer-grid-info,
.w3agile_footer_grid_list {
    margin: 1em 0 0 0;
}

.footer-grid-info p {
    margin: 0;
    font-size: .9em;
    color: #999999;
    line-height: 1.8em;
}

.footer-grid-info p span {
    display: block;
}

.footer-grid-info p span a {
    color: #f79820;
    text-decoration: none;
}

.footer-grid-info p span a:hover {
    color: #ffffff;
}

.footer-grid-info ul {
    padding: 0;
    margin: 0;
}

.footer-grid-info ul li {
    display: block;
}

.footer-grid-info ul li a {
    font-size: .9em;
    color: #999999;
    line-height: 1.8em;
    text-decoration: none;
}

.footer-grid-info ul li a:hover {
    color: #ffffff;
}

.w3agile_footer_grid_list ul {
    margin: 0;
    padding: 0;
}

.w3agile_footer_grid_list ul li {
    display: inline-block;
    color: #999999;
    font-size: .9em;
    margin: .5em 0 0 0;
}

.w3agile_footer_grid_list ul li:nth-child(1) {
    margin: 0;
}

.w3agile_footer_grid_list ul li a {
    color: #f79820;
    text-decoration: none;
}

.w3agile_footer_grid_list ul li a:hover {
    color: #FFFFFF;
}

.w3agile_footer_grid_list ul li span {
    display: block;
    margin: 1em 0 0;
}

.w3agile-post ul li {
    margin-bottom: 1em;
}

.agileits-w3layouts-copyright {
    text-align: center;
    margin: 2em 0 0 0;
}

.agileits-w3layouts-copyright p {
    margin: 0;
    font-size: .9em;
    color: #999999;
}

.agileits-w3layouts-copyright p a {
    color: #f79820;
    text-decoration: none;
}

.agileits-w3layouts-copyright p a:hover {
    color: #FFFFFF;
}

/*-- //footer --*/
/*-- to-top --*/
#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 55px;
    right: 2%;
    overflow: hidden;
    z-index: 999;
    width: 32px;
    height: 32px;
    border: none;
    text-indent: 100%;
    background: url(../images/arrow.png) no-repeat 0px 0px;
}

#toTopHover {
    width: 32px;
    height: 32px;
    display: block;
    overflow: hidden;
    float: right;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
}

/*-- //to-top --*/
/*-- icons --*/
.codes a {
    color: #999;
}

.icon-box {
    padding: 8px 15px;
    background: rgba(149, 149, 149, 0.18);
    margin: 1em 0 1em 0;
    border: 5px solid #ffffff;
    text-align: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -moz-transition: 0.5s all;
    cursor: pointer;
}

.icon-box:hover {
    background: #000;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -moz-transition: 0.5s all;
}

.icon-box:hover i.fa {
    color: #fff !important;
}

.icon-box:hover a.agile-icon {
    color: #fff !important;
}

.codes .bs-glyphicons li {
    float: left;
    width: 12.5%;
    height: 115px;
    padding: 10px;
    line-height: 1.4;
    text-align: center;
    font-size: 12px;
    list-style-type: none;
}

.codes .bs-glyphicons .glyphicon {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 24px;
}

.codes .glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #777;
}

.codes .bs-glyphicons .glyphicon-class {
    display: block;
    text-align: center;
    word-wrap: break-word;
}

h3.icon-subheading {
    font-size: 28px;
    color: #f79820 !important;
    margin: 30px 0 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

h3.agileits-icons-title {
    text-align: center;
    font-size: 33px;
    color: #222222;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 1.5em 0;
}

.icons a {
    color: #999;
}

.icon-box i {
    margin-right: 10px !important;
    font-size: 20px !important;
    color: #282a2b !important;
}

.bs-glyphicons li {
    float: left;
    width: 18%;
    height: 115px;
    padding: 10px;
    line-height: 1.4;
    text-align: center;
    font-size: 12px;
    list-style-type: none;
    background: rgba(149, 149, 149, 0.18);
    margin: 1%;
}

.bs-glyphicons .glyphicon {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 24px;
    color: #282a2b;
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #777;
}

.bs-glyphicons .glyphicon-class {
    display: block;
    text-align: center;
    word-wrap: break-word;
}

@media (max-width:991px) {
    h3.agileits-icons-title {
        font-size: 28px;
    }

    h3.icon-subheading {
        font-size: 22px;
    }
}

@media (max-width:768px) {
    h3.agileits-icons-title {
        font-size: 28px;
    }

    h3.icon-subheading {
        font-size: 25px;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .icon-box {
        margin: 0;
    }
}

@media (max-width: 640px) {
    .icon-box {
        float: left;
        width: 50%;
    }
}

@media (max-width: 480px) {
    .bs-glyphicons li {
        width: 31%;
    }
}

@media (max-width: 414px) {
    h3.agileits-icons-title {
        font-size: 23px;
    }

    h3.icon-subheading {
        font-size: 18px;
    }

    .bs-glyphicons li {
        width: 31.33%;
    }
}

@media (max-width: 384px) {
    .icon-box {
        float: none;
        width: 100%;
    }
}

/*-- //icons --*/
.w3_wthree_agileits_icons.main-grid-border {
    padding: 5em 0;
}

/*--Typography--*/
.well {
    font-weight: 300;
    font-size: 14px;
}

.list-group-item {
    font-weight: 300;
    font-size: 14px;
}

li.list-group-item1 {
    font-size: 14px;
    font-weight: 300;
}

.typo p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
}

.show-grid [class^=col-] {
    background: #fff;
    text-align: center;
    margin-bottom: 10px;
    line-height: 2em;
    border: 10px solid #f0f0f0;
}

.show-grid [class*="col-"]:hover {
    background: #e0e0e0;
}

.grid_3 {
    margin-bottom: 2em;
}

.xs h3,
h3.m_1 {
    color: #000;
    font-size: 1.7em;
    font-weight: 300;
    margin-bottom: 1em;
}

.grid_3 p {
    color: #999;
    font-size: 0.85em;
    margin-bottom: 1em;
    font-weight: 300;
}

.grid_4 {
    background: none;
    margin-top: 50px;
}

.label {
    font-weight: 300 !important;
    border-radius: 4px;
}

.grid_5 {
    background: none;
    padding: 2em 0;
}

.grid_5 h3,
.grid_5 h2,
.grid_5 h1,
.grid_5 h4,
.grid_5 h5,
h3.hdg,
h3.bars {
    margin-bottom: 1em;
    color: #f79820;
    font-size: 30px;
    letter-spacing: 2px;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    border-top: none !important;
}

.tab-content>.active {
    display: block;
    visibility: visible;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    z-index: 0;
}

.badge-primary {
    background-color: #03a9f4;
}

.badge-success {
    background-color: #fb5710;
}

.badge-warning {
    background-color: #ffc107;
}

.badge-danger {
    background-color: #e51c23;
}

.grid_3 p {
    line-height: 2em;
    color: #888;
    font-size: 0.9em;
    margin-bottom: 1em;
    font-weight: 300;
}

.bs-docs-example {
    margin: 1em 0;
}

section#tables p {
    margin-top: 1em;
}

.tab-container .tab-content {
    border-radius: 0 2px 2px 2px;
    border: 1px solid #e0e0e0;
    padding: 16px;
    background-color: #ffffff;
}

.table td,
.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 15px !important;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    font-size: 0.9em;
    color: #999;
    border-top: none !important;
}

.tab-content>.active {
    display: block;
    visibility: visible;
}

.label {
    font-weight: 300 !important;
}

.label {
    padding: 4px 6px;
    border: none;
    text-shadow: none;
}

.alert {
    font-size: 0.85em;
}

h1.t-button,
h2.t-button,
h3.t-button,
h4.t-button,
h5.t-button {
    line-height: 2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

li.list-group-item1 {
    line-height: 2.5em;
}

.input-group {
    margin-bottom: 20px;
}

.in-gp-tl {
    padding: 0;
}

.in-gp-tb {
    padding-right: 0;
}

.list-group {
    margin-bottom: 48px;
}

ol {
    margin-bottom: 44px;
}

h2.typoh2 {
    margin: 0 0 10px;
}

@media (max-width:768px) {
    .grid_5 {
        padding: 0 0 1em;
    }

    .grid_3 {
        margin-bottom: 0em;
    }
}

@media (max-width:640px) {

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3 {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .grid_5 h3,
    .grid_5 h2,
    .grid_5 h1,
    .grid_5 h4,
    .grid_5 h5,
    h3.hdg,
    h3.bars {
        margin-bottom: .5em;
    }

    .progress {
        height: 10px;
        margin-bottom: 10px;
    }

    ol.breadcrumb li,
    .grid_3 p,
    ul.list-group li,
    li.list-group-item1 {
        font-size: 14px;
    }

    .breadcrumb {
        margin-bottom: 25px;
    }

    .well {
        font-size: 14px;
        margin-bottom: 10px;
    }

    h2.typoh2 {
        font-size: 1.5em;
    }

    .label {
        font-size: 60%;
    }

    .in-gp-tl {
        padding: 0 1em;
    }

    .in-gp-tb {
        padding-right: 1em;
    }
}

@media (max-width:480px) {

    .grid_5 h3,
    .grid_5 h2,
    .grid_5 h1,
    .grid_5 h4,
    .grid_5 h5,
    h3.hdg,
    h3.bars {
        font-size: 1.2em;
    }

    .table h1 {
        font-size: 26px;
    }

    .table h2 {
        font-size: 23px;
    }

    .table h3 {
        font-size: 20px;
    }

    .label {
        font-size: 53%;
    }

    .alert,
    p {
        font-size: 14px;
    }

    .pagination {
        margin: 20px 0 0px;
    }

    .grid_3.grid_4.w3layouts {
        margin-top: 25px;
    }
}

@media (max-width: 320px) {
    .grid_4 {
        margin-top: 18px;
    }

    h3.title {
        font-size: 1.6em;
    }

    .alert,
    p,
    ol.breadcrumb li,
    .grid_3 p,
    .well,
    ul.list-group li,
    li.list-group-item1,
    a.list-group-item {
        font-size: 13px;
    }

    .alert {
        padding: 10px;
        margin-bottom: 10px;
    }

    ul.pagination li a {
        font-size: 14px;
        padding: 5px 11px;
    }

    .list-group {
        margin-bottom: 10px;
    }

    .well {
        padding: 10px;
    }

    .nav>li>a {
        font-size: 14px;
    }

    table.table.table-striped,
    .table-bordered,
    .bs-docs-example {
        display: none;
    }
}

/*-- //typography --*/
.typo {
    padding: 5em 0;
}

/*-- contact --*/
.address.address-mdl {
    margin: 2em 0;
}

.address h5 {
    font-size: 1.2em;
    font-weight: 600;
    color: #000;
}

.address p {
    margin-top: 1em;
}

.address p i.glyphicon {
    color: #f79820;
    margin-right: 0.5em;
}

.address p a {
    color: #999;
}

.address p a:hover {
    color: #eead31;
}

.contact-agileinfo input[type="text"] {
    width: 100%;
    color: #999;
    background: none;
    outline: none;
    font-size: 1em;
    padding: .7em .8em;
    border: solid 1px #ccc;
    -webkit-appearance: none;
    display: inline-block;
}

input.email {
    margin: 1em 0;
}

.contact-agileinfo textarea {
    resize: none;
    width: 100%;
    background: none;
    color: #999;
    font-size: 1em;
    outline: none;
    padding: .7em .8em;
    border: solid 1px #ccc;
    min-height: 10em;
    -webkit-appearance: none;
    margin-top: 1em;
}

.contact-agileinfo input[type="submit"] {
    border: none;
    outline: 2px solid #f79820;
    color: #fff;
    padding: .6em 3em;
    font-size: 1em;
    margin: 1em 1em 0 0;
    -webkit-appearance: none;
    background: #f79820;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
}

.contact-agileinfo input[type="submit"]:hover {
    background: none;
    color: #f79820;
    letter-spacing: 2px;
}

.agileits-w3layouts-map iframe {
    width: 100%;
    min-height: 350px;
    border: none;
}

.contact {
    padding: 5em 0;
}

/*-- //contact --*/
/*-- services --*/
.agileits_services_grid h3 {
    font-size: 1.5em;
    color: #f79820;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-top: 1em;
}

.agileits_services_grid h3 span {
    color: #ff464f;
}

.agileits_services_grid p {
    color: #999;
    line-height: 2em;
    margin: 1em 0 2em;
}

.w3layouts_more {
    margin: 2em 0 0;
    text-align: center;
}

.w3layouts_more a {
    display: block;
    font-size: 1em;
    color: #212121;
    text-transform: uppercase;
    padding: 10px 0;
    border: 2px solid #f79820;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
}

.w3layouts_more a i {
    padding-left: 1em;
    color: #f79820;
}

.w3layouts_more a:hover {
    background: #339eae;
    border: 2px solid #339eae;
    color: #fff;
}

.w3layouts_more a:hover i {
    padding-left: 1.5em;
    color: #fff;
}

.w3_agile_services_grid1 {
    overflow: hidden;
    position: relative;
}

.w3_agile_services_grid1 img {
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    z-index: 4;
}

.agileits_services_grid:hover img {
    opacity: 1;
    transform: scale(1.15, 1.15);
    -webkit-transform: scale(1.15, 1.15);
    -moz-transform: scale(1.15, 1.15);
    -ms-transform: scale(1.15, 1.15);
    -o-transform: scale(1.15, 1.15);
}

.w3_agile_services_grid1 .w3_blur {
    background-color: rgba(0, 0, 0, 0.45);
    height: 100%;
    width: 100%;
    z-index: 5;
    position: absolute;
    opacity: 0;
    top: 0;
}

.agileits_services_grid:hover .w3_blur {
    opacity: 1;
}

.w3ls_banner_bottom_grids {
    margin-top: 5em;
}

/*-- //services --*/
/*-- bootstrap-pop-up --*/
.modal-header {
    font-size: 2em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #339eae;
}

.close {
    opacity: 1;
}

.modal-body p {
    color: #999;
    text-align: left;
    padding: 2em 2em 1em;
    margin: 0 !important;
    line-height: 2em;
}

.modal-body p i {
    display: block;
    margin: 1em 0;
    color: #212121;
}

.modal-body {
    padding: 0;
}

.modal-content {
    border-radius: 0;
}

button.close {
    font-size: 1.5em;
    color: #0490b5;
    outline: none;
}

/*-- //bootstrap-pop-up --*/
.banner-bottom {
    padding: 5em 0;
}

/*-- about --*/
.wthree-heading {
    margin: 2em 0 1em;
}

/*-- //about --*/
/*-- advantages --*/
.advantages {
    background: url(../images/mid-banner.jpg)no-repeat;
    min-height: 350px;
    background-size: cover;
    background-attachment: fixed;
}

.advantage-block {
    padding: 2em 2em;
    background: rgba(51, 158, 174, 0.49);
    text-align: center;
    border: 2px solid #ffffff;
}

.advantage-block:hover {
    background: rgba(0, 0, 0, 0.71);
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -o-transition: 0.5s all;
}

.advantage-block h4 {
    font-size: 1.5em;
    color: #fff;
    margin: 0.5em 0em 0.5em 0em;
}

.advantage-block p {
    font-size: .9em;
    color: #FFF;
    line-height: 1.8em;
}

.advantage-block h3 {
    font-size: 2.5em;
    color: #fff;
}

.advantages-top {
    text-align: center;
    margin-bottom: 3em;
}

/*-- //advantages --*/
/*-- team --*/
.team-heading h3 {
    color: #000000;
}

.team-bottom {
    text-align: center;
}

.team-bottom-info p {
    color: #999999;
    font-size: .9em;
    margin: 1em 0 0 0;
    line-height: 1.8em;
}

.w3l-social {
    margin: 1em 0 0 0;
}

.w3l-social ul {
    padding: 0;
    margin: 0;
}

.w3l-social ul li {
    display: inline-block;
}

.w3l-social ul li a {
    color: #333;
    text-align: center;
}

.w3l-social ul li a i.fa.fa-facebook {
    height: 40px;
    width: 40px;
    background: #FFFFFF;
    line-height: 40px;
    color: #3b5998;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.w3l-social ul li a i.fa.fa-facebook:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #3b5998;
    color: #FFFFFF;
}

.w3l-social ul li a i.fa.fa-twitter {
    height: 40px;
    width: 40px;
    background: #FFFFFF;
    line-height: 40px;
    color: #1da1f2;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.w3l-social ul li a i.fa.fa-twitter:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #1da1f2;
    color: #FFFFFF;
}

.w3l-social ul li a i.fa.fa-rss {
    height: 40px;
    width: 40px;
    background: #FFFFFF;
    line-height: 40px;
    color: #f26522;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.w3l-social ul li a i.fa.fa-rss:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #f26522;
    color: #FFFFFF;
}

/* Better spacing on download options in getting started */
.bs-docs-dl-options h4 {
    margin-top: 15px;
    margin-bottom: 5px;
}

.ih-item {
    position: relative;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.ih-item,
.ih-item * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ih-item {
    color: #333;
}

.ih-item a:hover {
    text-decoration: none;
}

.ih-item img {
    width: 100%;
    height: 100%;
}

.ih-item img:hover {
    opacity: .5;
}

.ih-item.circle {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto;
}

.ih-item.circle .img {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
}

.ih-item.circle .img:before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.ih-item.circle .img img {
    border-radius: 50%;
}

.ih-item.circle .info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    border-radius: 50%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*--*/

.ih-item.circle.effect5 {
    -webkit-perspective: 900px;
    -moz-perspective: 900px;
    perspective: 900px;
}

.ih-item.circle.effect5.colored .info .info-back {
    background: #1a4a72;
    background: rgba(26, 74, 114, 0.6);
}

.ih-item.circle.effect5 .info {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.ih-item.circle.effect5 .info .info-back {
    visibility: hidden;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: #333333;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transform: rotate3d(0, 1, 0, 180deg);
    -moz-transform: rotate3d(0, 1, 0, 180deg);
    -ms-transform: rotate3d(0, 1, 0, 180deg);
    -o-transform: rotate3d(0, 1, 0, 180deg);
    transform: rotate3d(0, 1, 0, 180deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ih-item.circle.effect5 .info h3 {
    color: #fff;
    position: relative;
    letter-spacing: 0px;
    font-size: 1.3em;
    margin: 0 30px;
    padding: 99px 0 0 0;
    height: 110px;
}

.ih-item.circle.effect5 .info p {
    color: #bbb;
    padding: 10px 5px;
    font-style: italic;
    margin: 0 30px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.ih-item.circle.effect5:hover .info {
    -webkit-transform: rotate3d(0, 1, 0, -180deg);
    -moz-transform: rotate3d(0, 1, 0, -180deg);
    -ms-transform: rotate3d(0, 1, 0, -180deg);
    -o-transform: rotate3d(0, 1, 0, -180deg);
    transform: rotate3d(0, 1, 0, -180deg);
}

.ih-item.circle.effect5:hover .info .info-back {
    visibility: visible;
}

/*-- //team --*/
.wthree-services-right-top h4 {
    color: #f79820;
    font-size: 1.2em;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-bottom-icon i.fa.fa-bell,
.services-bottom-icon i.fa.fa-asterisk {
    color: #339eae;
    font-size: 2em;
}

.services-bottom-info h5 {
    color: #f79820;
    font-size: 1em;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wthree-services-right-top p {
    color: #999999;
    font-size: .9em;
    line-height: 1.8em;
    margin: 1em 0 0 0;
}

.services-bottom-info p {
    color: #999999;
    font-size: .9em;
    line-height: 1.8em;
    margin: 1em 0 0 0;
}

.about-top {
    padding: 5em 0;
}

.services-bottom-icon {
    float: left;
    width: 10%;
}

.services-bottom-info {
    float: left;
    width: 80%;
}

.services-right-bottom-bottom {
    margin: 2em 0 0 0;
}

.team {
    padding: 5em 0;
}

.advantages-main {
    padding: 5em 0;
}

.advantages-main h3 {
    color: #fff;
}

/*-- start-responsive-design --*/
@media (max-width:1440px) {}

@media (max-width: 1366px) {}

@media (max-width: 1280px) {
    .navbar-right {
        margin: 0.7em 0 0 12em;
    }
}

@media (max-width: 1080px) {
    .navbar-nav>li>a {
        padding: 0 1em;
    }

    .navbar-right {
        margin: 0.7em 0 0 2em;
    }

    .agileits_w3layouts_banner_info h3 {
        font-size: 2.5em;
    }

    .agileits_w3layouts_banner_info {
        margin: 13em 0 0;
    }

    .banner {
        min-height: 550px;
    }

    .about-grid1 {
        padding: 2em 2em 2em 11em;
    }

    .about-grid1-pos {
        left: -8%;
    }

    .about-grid1-pos1 {
        right: -8%;
    }

    .about-grid1.about-grd1 {
        padding: 2em 10em 2em 2em;
    }

    .about-grid2-left {
        padding: 1.3em;
    }

    .w3agile_tab_left {
        padding-left: 16px;
    }
}

@media (max-width: 1024px) {}

@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1em;
    }

    .agileinfo-social-grids ul li a i.fa.fa-twitter {
        margin: 0 0.5em;
    }

    .contact-left {
        margin-top: 3em;
    }

    .contact {
        padding: 3em 0;
    }

    .w3ls_head {
        margin-bottom: 50px;
    }

    .w3-agile-footer {
        padding: 3em 0;
    }

    .footer-grid {
        float: left;
        width: 50%;
        margin-bottom: 2em;
    }

    .agileits-w3layouts-copyright {
        margin: 0em 0 0 0;
    }

    .footer-grid-heading h4 {
        font-size: 1.8em;
    }

    .w3_wthree_agileits_icons.main-grid-border {
        padding: 3em 0;
    }

    .typo {
        padding: 3em 0;
    }

    .banner-bottom {
        padding: 3em 0;
    }

    .agileits_services_grid img {
        width: 100%;
    }

    .w3ls_banner_bottom_grids {
        margin-top: .0em;
    }

    .agileits_services_grid {
        margin-top: 2em;
    }

    .about-top {
        padding: 3em 0;
    }

    .wthree-services-right {
        margin-top: 2em;
    }

    .advantages-main {
        padding: 3em 0;
    }

    .advantage-grid:nth-child(2) {
        margin: 2em 0;
    }

    .team {
        padding: 3em 0;
    }

    .team-grids {
        float: left;
        width: 50%;
        margin-top: 2em;
    }

    .agileits_w3layouts_banner_info h3 {
        font-size: 2em;
    }

    .agileits_w3layouts_banner_info {
        margin: 12em 0 0;
    }

    .agileits_w3layouts_banner_info_pos {
        margin-top: 4em;
        text-align: center;
    }

    .banner {
        min-height: 460px;
    }

    .banner-bottom-icons {
        padding: 3em 0;
    }

    .w3_banner_bottom_icons_left {
        text-align: center;
        width: 53%;
        margin: 0 auto 2em;
    }

    .register {
        padding: 3em 0;
    }

    .w3layouts_register_left {
        margin: 3em 0 0;
    }

    .w3layouts_register_right form {
        width: 100%;
    }

    .about {
        padding: 3em 0;
    }

    .about-grid1-pos {
        top: -25%;
        left: -6%;
    }

    .about-grid1.about-grd1 {
        padding: 2em 10em 2em 2em;
        margin-top: 3em;
    }

    .about-grid1 {
        padding: 2em 2em 2em 12em;
    }

    .about-grid2-left {
        width: 75px;
    }

    .news-letter input[type="text"],
    .news-letter input[type="email"] {
        width: 40%;
    }

    .news-letter {
        padding: 3em 0;
    }

    .welcome {
        padding: 3em 0;
    }

    .nav-tabs {
        width: 60%;
    }

    .w3agile_tab_left {
        padding-left: 0px;
        margin-top: 1em;
    }

    .w3agile_tab_left h4 {
        margin-bottom: 0em;
    }
}

@media (max-width: 900px) {}

@media (max-width: 800px) {
    .navbar-brand {
        float: none;
    }

    .navbar-right {
        margin: 0.7em 0 0 0em;
    }

    .navbar-left {
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }

    .banner1 {
        min-height: 220px;
    }

    .about-grid1-pos1 {
        right: -4%;
    }

    .about-grid1-pos {
        top: -25%;
        left: -3%;
    }
}

@media (max-width: 768px) {
    .about-grid1-pos {
        left: -2%;
    }

    .about-grid1 {
        padding: 2em 2em 2em 14em;
    }

    .agileits_w3layouts_banner_info {
        margin: 10em 0 0;
    }

    .about-grid1-pos1 {
        top: -25%;
        right: -2%;
    }
}

@media (max-width: 767px) {
    .navbar-default .navbar-toggle {
        border-color: #fff;
        background: #ec9114;
    }

    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: #ec9114;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .navbar-right {
        margin: 0;
        float: none !important;
        text-align: center;
    }

    .navbar-nav {
        margin: 0;
        background: rgb(51, 158, 174);
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        border: none;
    }

    .navbar-collapse {
        box-shadow: none;
    }

    .navbar-nav>li,
    .agile_short_dropdown li a {
        font-size: 13px;
    }

    .navbar-nav>li>a {
        padding: 0;
        margin: 1.5em 0;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #ec9114;
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #fff;
    }

    .navbar-nav .open .dropdown-menu>li>a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 1em 0;
    }

    .w3_agile_phone {
        margin: 0;
    }

    .navbar-toggle {
        margin: 0;
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        border: none;
        position: absolute;
        width: 95.5%;
        z-index: 999;
        top: 4em;
    }

    nav.navbar.navbar-default {
        background: none;
        padding: 1em 1em;
    }

    .navbar-left {
        width: 81%;
        text-align: left;
        margin-bottom: 0px;
        float: left;
    }
}

@media (max-width: 736px) {
    .about-grid1.about-grd1 {
        padding: 2em 14em 2em 2em;
    }

    .news-letter input[type="text"],
    .news-letter input[type="email"] {
        width: 39%;
    }
}

@media (max-width: 667px) {
    .agileits_w3layouts_banner_info_pos ul li {
        padding: 0 4em 0 0;
    }

    .agileits_w3layouts_banner_info p {
        width: 80%;
    }
}

@media (max-width: 640px) {
    .agileits_w3layouts_banner_info h3 {
        font-size: 1.8em;
    }

    .agileits_w3layouts_banner_info p {
        font-size: 15px;
    }

    .agileits_w3layouts_banner_info_pos ul li label {
        width: 40px;
    }

    .agileits_w3layouts_banner_info {
        margin: 8em 0 0;
    }

    .banner {
        min-height: 410px;
    }

    .w3_banner_bottom_icons1 h3 {
        font-size: 1.1em;
    }

    .nav-tabs {
        width: 70%;
    }

    .w3agile_tab_left h4 {
        font-size: 1.7em;
    }
}

@media (max-width: 600px) {

    .news-letter input[type="text"],
    .news-letter input[type="email"] {
        width: 38%;
    }

    .about-grid1-pos1 {
        top: -15%;
    }

    .about-grid1-pos {
        top: -15%;
    }
}

@media (max-width: 568px) {
    .agileits_w3layouts_banner_info h3 {
        font-size: 1.6em;
    }

    .agileits_w3layouts_banner_info p {
        width: 90%;
        margin: 20px auto;
    }

    .agileits_w3layouts_banner_info {
        margin: 7em 0 0;
    }

    .banner {
        min-height: 360px;
    }

    .news-letter input[type="text"],
    .news-letter input[type="email"] {
        width: 37%;
    }

    .nav-tabs {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 0.9em;
    }

    .navbar-left {
        width: 77%;
    }

    .banner1 {
        min-height: 180px;
    }

    .header_left ul li span {
        margin-right: 0px;
    }

    .header_left ul li {
        padding: 0px 4px 0px 0;
    }

    .header {
        padding: 0.5em 0.5em;
    }

    .agileits-w3layouts-copyright p {
        line-height: 1.8em;
    }

    .ih-item.circle {
        width: 200px;
        height: 200px;
    }

    .ih-item.circle .img {
        width: 200px;
        height: 200px;
    }

    .agileits_w3layouts_banner_info h3 {
        font-size: 1.4em;
    }

    .agileits_w3layouts_banner_info p {
        line-height: 24px;
        width: 82%;
        font-size: 14px;
    }

    .agileits_w3layouts_banner_info_pos ul li {
        padding: 0 3em 0 0;
    }

    .agileits_w3layouts_banner_info {
        margin: 6em 0 0;
    }

    .agileits_w3layouts_banner_info_pos {
        margin-top: 2em;
    }

    .banner {
        min-height: 310px;
    }

    .about-grid2-right {
        float: right;
        width: 78%;
    }

    .about-grid1-pos {
        top: -6%;
    }

    .about-grid1-pos1 {
        top: -6%;
    }

    .news-letter input[type="text"],
    .news-letter input[type="email"] {
        width: 35%;
    }

    .w3agile_tab_right1 {
        padding: 0;
    }
}

@media (max-width: 414px) {
    .agileinfo-social-grids ul li a i.fa.fa-twitter {
        margin: 0 0.2em;
    }

    nav.navbar.navbar-default {
        background: none;
        padding: 0.7em 0.5em;
    }

    .navbar-brand {
        font-size: 0.8em;
        letter-spacing: 1px;
        line-height: 35px;
    }

    .navbar-brand {
        float: left;
    }

    .w3ls_head {
        margin-bottom: 30px;
        font-size: 32px;
    }

    .footer-grid {
        width: 100%;
        margin-bottom: 2em;
    }

    .team-grids {
        float: left;
        width: 100%;
        margin-top: 2em;
    }

    .team-grids:nth-child(1) {
        margin-top: 0em;
    }

    .ih-item.circle {
        width: 220px;
        height: 220px;
    }

    .ih-item.circle .img {
        width: 220px;
        height: 220px;
    }

    .services-bottom-icon {
        width: 15%;
    }

    .agileits_w3layouts_banner_info h3 {
        line-height: 26px;
    }

    .agileits_w3layouts_banner_info p {
        width: 81%;
        font-size: 13px;
        margin: 7px auto 0;
    }

    .agileits_w3layouts_banner_info_pos ul li {
        font-size: 13px;
    }

    .agileits_w3layouts_banner_info_pos ul li label {
        top: 8px;
        width: 30px;
        margin-left: 3px;
    }

    .agileits_w3layouts_banner_info {
        margin: 4em 0 0;
    }

    .banner {
        min-height: 300px;
    }

    .w3_banner_bottom_icons_left {
        width: 80%;
    }

    .w3_banner_bottom_icons1 {
        width: 100%;
    }

    .w3layouts_register_left h3 {
        font-size: 2em;
    }

    .about-grid1-pos {
        left: 20%;
        top: -5%;
    }

    .about-grid1 {
        padding: 13em 1em 2em 2em;
    }

    .about-grid2-right {
        float: right;
        width: 76%;
    }

    .about-grid1-pos1 {
        top: -5%;
        left: 20%;
    }

    .about-grid1.about-grd1 {
        padding: 13em 1em 2em 2em;
    }

    .about-grids:nth-child(3) {
        margin: 2em 0 0em;
    }

    .news-letter input[type="text"],
    .news-letter input[type="email"] {
        width: 100%;
        margin-bottom: 2%;
        margin-right: 0;
    }

    .nav-tabs>li>a {
        margin-right: .1em;
    }
}

@media (max-width: 384px) {
    .navbar-brand {
        letter-spacing: 0px;
        line-height: 33px;
        height: 33px;
    }

    .agileits_services_grid h3 {
        font-size: 1.4em;
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        top: 3em;
    }

    .agileits_w3layouts_banner_info_pos ul li {
        padding: 0 2em 0 0;
    }

    .agileits_w3layouts_banner_info_pos ul li label {
        width: 23px;
    }

    .about-grid2-right {
        width: 75%;
    }

    .about-grid1-pos1 {
        left: 18%;
    }

    .about-grid1-pos {
        left: 18%;
    }

    .modal-header {
        font-size: 1.6em;
    }
}

@media (max-width: 375px) {
    .about-grid2-right {
        width: 74%;
    }

    .nav-tabs>li>a {
        margin-right: .0em;
    }
}

@media (max-width: 320px) {
    .agileinfo-social-grids ul li a i.fa.fa-twitter {
        margin: 0 0.1em;
    }

    .agileinfo-social-grids ul li a i.fa.fa-rss {
        margin: 0 0em 0 0;
    }

    .navbar-left {
        width: 78%;
    }

    .navbar-brand {
        font-size: 0.65em;
    }

    .navbar-toggle {
        padding: 8px 8px;
    }

    .agileinfo-social-grids ul li:nth-child(2) {
        margin: 0.3em 0;
    }

    .header {
        padding: 0em 0.2em;
    }

    .banner1 {
        min-height: 140px;
    }

    .contact {
        padding: 2em 0;
    }

    .w3ls_head {
        margin-bottom: 25px;
        font-size: 30px;
        padding-bottom: .6em;
    }

    .contact-right {
        padding: 0;
    }

    .contact-left {
        margin-top: 2em;
        padding: 0;
    }

    .agileits-w3layouts-map iframe {
        min-height: 220px;
    }

    .w3-agile-footer {
        padding: 2em 0;
    }

    .footer-grid-heading h4 {
        font-size: 1.5em;
    }

    .footer-grid {
        margin-bottom: 1em;
        padding: 0;
    }

    .w3_wthree_agileits_icons.main-grid-border {
        padding: 2em 0;
    }

    .typo {
        padding: 2em 0;
    }

    .banner-bottom {
        padding: 2em 0;
    }

    .agileits_services_grid {
        padding: 0;
    }

    .about-top {
        padding: 2em 0;
    }

    .wthree-services-left {
        padding: 0;
    }

    .wthree-services-right {
        margin-top: 2em;
        padding: 0;
    }

    .wthree-services-right-top h4 {
        font-size: 1.1em;
        line-height: 1.2em;
    }

    .services-bottom-icon {
        width: 18%;
    }

    .services-bottom-info p {
        margin: 0.5em 0 0 0;
    }

    .advantages-main {
        padding: 2em 0;
    }

    .advantage-grid {
        padding: 0;
    }

    .advantage-block {
        padding: 2em 1em;
    }

    .team {
        padding: 2em 0;
    }

    .agileits_w3layouts_banner_info {
        margin: 3em 0 0;
    }

    .agileits_w3layouts_banner_info_pos ul li {
        padding: 0 1em 0 0;
    }

    .agileits_w3layouts_banner_info_pos ul li label {
        width: 12px;
    }

    .agileits_w3layouts_banner_info_pos {
        margin-top: 1em;
    }

    .banner {
        min-height: 275px;
    }

    .agileits_w3layouts_banner_info p {
        width: 100%;
    }

    .banner-bottom-icons {
        padding: 2em 0;
    }

    .w3_banner_bottom_icons1_effect {
        padding: 0.5em;
    }

    .register {
        padding: 2em 0;
    }

    .w3layouts_register_right form {
        padding: 1em;
    }

    .w3layouts_register_right {
        padding: 0;
    }

    .w3layouts_register_left {
        margin: 2em 0 0;
        padding: 0;
    }

    .about {
        padding: 2em 0;
    }

    .about-grid {
        padding: 0;
    }

    .about-grid1-pos {
        left: 14%;
        top: -2%;
    }

    .about-grid2-left {
        width: 57px;
        padding: 0.7em;
    }

    .about-grid2-right {
        width: 79%;
        padding-right: 0;
    }

    .about-grid2 {
        margin: 2em 0 0;
    }

    .about-grid1-pos1 {
        left: 14%;
    }

    .news-letter {
        padding: 2em 0;
    }

    .welcome {
        padding: 2em 0;
    }

    .welcome-tabs {
        margin: 2em 0 0;
    }

    .w3agile_tab_left h4 {
        font-size: 1.5em;
    }

    .modal-header {
        font-size: 1.4em;
        letter-spacing: 1px;
    }
}

/* ============================================================================================= */

/* Customized navbar style */

/* ============================================================================================= */
/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-orange) 30%, var(--primary-teal) 30%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.top-bar-left span {
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.social-links a:hover {
    transform: scale(1.1);
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right span {
    white-space: nowrap;
}

.top-bar-right i {
    margin-right: 5px;
}

/* Tablet View - Start reducing sizes */
@media (max-width: 992px) {
    .top-bar {
        font-size: 13px;
    }

    .top-bar .top-container {
        gap: 10px;
    }

    .top-bar-right {
        gap: 15px;
    }
}

/* Small Tablet - Reduce contact info */
@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
    }

    .top-bar .top-container {
        padding: 0 15px;
    }

    .top-bar-left span {
        font-size: 11px;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .top-bar-right {
        gap: 12px;
        font-size: 11px;
    }
}

/* Mobile View - Keep single row, ultra compact */
@media (max-width: 576px) {
    .top-bar {
        font-size: 11px;
        padding: 11px 0;
    }

    .top-bar .top-container {
        padding: 0 10px;
        gap: 8px;
    }

    .top-bar-left {
        gap: 6px;
    }

    .top-bar-left span {
        font-size: 10px;
    }

    .social-links {
        gap: 3px;
    }

    .social-links a {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .top-bar-right {
        gap: 8px;
        font-size: 10px;
        overflow: hidden;
    }

    .top-bar-right span {
        display: flex;
        align-items: center;
    }

    .top-bar-right i {
        margin-right: 3px;
        font-size: 10px;
    }
}

/* Extra Small Mobile - Hide location, keep email and phone */
@media (max-width: 480px) {
    .top-bar-left span {
        display: none;
    }

    .top-bar-right span:first-child {
        display: none;
        /* Hide location on very small screens */
    }

    .top-bar-right {
        gap: 6px;
    }
}

/* Ultra Small - Show only essential info */
@media (max-width: 380px) {
    .social-links a {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .top-bar-right {
        font-size: 9px;
        gap: 5px;
    }
}

/* Main Navigation */
nav {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

nav.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s;
}

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

.logo-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image i {
    font-size: 32px;
    color: var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1.2;
}

.logo-text .sub {
    font-size: 12px;
    color: var(--primary-orange);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu>li>a:hover {
    color: var(--primary-orange);
}

.nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-menu>li>a:hover::after,
.nav-menu>li.active>a::after {
    transform: scaleX(1);
}

.nav-menu>li>a i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-menu>li:hover>a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%) translateY(-20px);
    z-index: 999;
}

.nav-menu>li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
}

.mega-menu-column {
    position: relative;
}

.mega-menu-column h4 {
    color: var(--primary-teal);
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-orange);
}

.mega-menu-column h4 i {
    color: var(--primary-orange);
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column ul li {
    margin-bottom: 12px;
    position: relative;
}

.mega-menu-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mega-menu-column ul li a:hover {
    background: var(--light-bg);
    color: var(--primary-orange);
    padding-left: 20px;
}

.mega-menu-column ul li a i {
    font-size: 12px;
    opacity: 0.6;
}

/* Sub-menu on hover (right side) */
.has-submenu {
    position: relative;
}

.has-submenu>a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.3s;
}

.has-submenu:hover>a::after {
    transform: translateX(3px);
}

.submenu-right {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
    margin-left: 10px;
}

.has-submenu:hover .submenu-right {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-right h5 {
    color: var(--primary-teal);
    margin-bottom: 15px;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-orange);
}

.submenu-right ul {
    list-style: none;
}

.submenu-right ul li {
    margin-bottom: 10px;
}

.submenu-right ul li a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

.submenu-right ul li a:hover {
    background: var(--light-bg);
    color: var(--primary-orange);
    padding-left: 20px;
}

/* Apply Button */
.apply-btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange) 30%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(255, 152, 0, 0.3);
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 3px rgba(252, 233, 128, 0.4);
    /* color: var(--primary-orange); */
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-teal);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-blue));
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo-image {
    width: 45px;
    height: 45px;
    background: var(--white);
    /* border-radius: 10px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-image i {
    font-size: 24px;
    color: var(--primary-teal);
}

.mobile-logo-text .main {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.mobile-logo-text .sub {
    font-size: 10px;
    color: var(--primary-orange);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-items {
    list-style: none;
    padding: 20px 0;
}

.mobile-menu-items>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-items>li>a {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 5px;
    padding: 18px 25px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-menu-items>li>a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 35px;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: var(--white);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    transition: max-height 0.4s ease-out;
}

.mobile-dropdown-content.active {
    max-height: 1000px;
    transition: max-height 0.6s ease-in;
}

.mobile-dropdown-content a {
    display: block;
    padding: 15px 25px 15px 45px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.mobile-dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 55px;
    color: var(--white);
}

.mobile-dropdown-content a i {
    margin-right: 10px;
    color: var(--primary-orange);
}

.mobile-submenu {
    padding-left: 20px;
}

.mobile-submenu a {
    padding-left: 65px;
    font-size: 13px;
}

.mobile-submenu a:hover {
    padding-left: 75px;
}

.mobile-apply-btn {
    margin: 20px 25px;
}

.mobile-apply-btn .apply-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 700px;
    }

    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .hamburger {
        display: flex;
    }

    .nav-menu,
    .apply-btn {
        display: none;
    }

    .nav-container {
        height: 75px;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-image i {
        font-size: 26px;
    }

    .logo-text .main {
        font-size: 20px;
    }
    .apply-btn {
        padding: 7px 8px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    .apply-btn {
        padding: 7px 8px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .logo-text .sub {
        display: none;
    }

    .mobile-menu {
        max-width: 100%;
    }
    .apply-btn {
        padding: 7px 8px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
}

/* Hero Section - Carousel */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-1 {
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.85), rgba(26, 58, 82, 0.85)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600') center/cover;
}

.hero-slide-2 {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.85), rgba(0, 121, 107, 0.85)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1600') center/cover;
}

.hero-slide-3 {
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.85), rgba(255, 152, 0, 0.85)), url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=1600') center/cover;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--primary-orange);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-indicators {
    /* position: absolute; */
    bottom: 30px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    display: flex;
    gap: 12px;
    z-index: 10;
    justify-content: center;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: var(--primary-orange);
    width: 40px;
    border-radius: 6px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 30px;
}

.carousel-arrow-right {
    right: 30px;
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow-left {
        left: 15px;
    }

    .carousel-arrow-right {
        right: 15px;
    }
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #e2b903;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(236, 226, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-teal);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .top-bar .container {
        font-size: 12px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 10px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .features-grid,
    .programs-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .top-bar-right {
        font-size: 11px;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .section-title h2 {
        font-size: 36px;
    }
}

/* Welcome Quote */
.welcome-quote {
    position: relative;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.05), rgba(255, 107, 53, 0.05));
    border-left: 4px solid rgb(190, 195, 197);
    border-radius: 8px;
    margin-top: 30px;
}

.welcome-quote i {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 30px;
    color: #ff6b35;
    opacity: 0.2;
}

.welcome-quote p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
    margin: 0;
    padding-left: 25px;
}

.welcome-quote strong {
    color: #00796b;
    font-weight: 700;
}

/* ============================================
   NEWS & EVENTS SECTION
   ============================================ */
.news-events {
    padding: 100px 0;
    background: white;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary-teal);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
    color: var(--primary-teal);
}

/* ============================================
   PROGRAMS SECTION - REFINED CARDS
   ============================================ */
.program-card {
    background: white;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    height: 100%;
    border-radius: 12px;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 45px rgba(0, 121, 107, 0.12);
}

.program-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary-teal), #00695c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 121, 107, 0.2);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    transform: rotateY(180deg);
}

.program-icon i {
    font-size: 32px;
    color: white;
}

.program-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 8px;
}

.program-subtitle {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.program-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
}

.btn-program {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
}

.btn-program:hover {
    background: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 121, 107, 0.35);
}

/* ============================================
   STATISTICS SECTION - FIXED CIRCLES
   ============================================ */
.quick-stats {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-teal), #00695c);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 121, 107, 0.2);
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 15px;
    min-height: 70px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-plus,
.stat-percent {
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}

.stat-icon {
    font-size: 48px;
    color: white;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   TESTIMONIALS SECTION - REDESIGNED
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 100px;
    color: rgba(0, 121, 107, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), #00695c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.25);
}

.author-avatar i {
    color: white;
    font-size: 28px;
}

.author-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 0 0 5px 0;
}

.author-info span {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* ============================================
   FOOTER - Professional & Structured
   ============================================ */
footer {
    background: linear-gradient(135deg, #1a3a52 0%, #0d2538 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-orange));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-grid-heading h4 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-grid-heading h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.footer-grid-info p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.footer-grid-info ul {
    list-style: none;
    padding: 0;
}

.footer-grid-info ul li {
    margin-bottom: 12px;
}

.footer-grid-info ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-grid-info ul li a:hover {
    color: var(--primary-orange);
    padding-left: 8px;
}

.phone {
    margin-top: 20px;
}

.phone span {
    display: block;
    margin-top: 8px;
}

.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icons a:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 40px;
}

.copyright a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.copyright a:hover {
    text-decoration: underline;
}

.developer-credit {
    font-size: 13px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.developer-credit a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .w3ls_head {
        font-size: 36px;
    }

    .stat-box:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {

    .news-events,
    .programs-section,
    .why-choose,
    .statistics,
    .testimonials {
        padding: 70px 0;
    }

    .w3ls_head {
        font-size: 32px;
    }


    .stat-number {
        font-size: 42px;
    }

    .why-item {
        flex-direction: column;
        text-align: center;
    }

    footer {
        padding: 60px 0 0;
    }

    .footer-grids {
        gap: 40px;
    }
}

@media (max-width: 480px) {


    .program-card,
    .testimonial-card {
        padding: 35px 25px;
    }
}

/* ============================================
   DIRECTOR'S LETTER SECTION
   ============================================ */
.directors-letter {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.letter-container {
    max-width: 1140px;
    margin: 0 auto;
}

.letter-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.director-photo {
    flex-shrink: 0;
    width: 320px;
}

.director-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 121, 107, 0.2);
}

.director-card img {
    width: 100%;
    height: auto;
    display: block;
}

.director-name-badge {
    background: linear-gradient(135deg, var(--primary-teal), #00695c);
    color: white;
    padding: 20px;
    text-align: center;
}

.director-name-badge h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.director-name-badge p {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

.letter-text {
    flex: 1;
}

.letter-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.letter-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
}

.letter-greeting {
    font-size: 18px;
    color: #495057;
    margin-bottom: 25px;
    font-weight: 600;
}

.letter-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 20px;
    text-align: justify;
}

.letter-text .highlight-text {
    color: var(--primary-teal);
    font-weight: 600;
}

.letter-signature {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.letter-signature p {
    margin: 5px 0;
    font-size: 16px;
}

.letter-signature .signature-name {
    font-weight: 700;
    color: var(--primary-teal);
    font-style: italic;
}

/* ============================================
   PHOTO GALLERY SECTION
   ============================================ */
.photo-gallery-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.gallery-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 15px;
}

.gallery-grid figure {
    container: figure / inline-size;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-grid figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-grid img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    grid-area: 1 / 1 / -1 / -1;
    transition: scale 0.6s ease-in-out;
}

.gallery-grid figure:hover img {
    scale: 1.1;
}

.gallery-grid figcaption {
    grid-area: 1 / 1 / -1 / -1;
    align-self: end;
    z-index: 1;
    padding: 2em 1em 1em 1em;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.3;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8));
    display: none;
}

@container figure (width > 250px) {
    .gallery-grid figcaption {
        display: block;
    }
}

.gallery-grid figcaption h3 {
    font-size: 1rem;
    font-weight: 600;
}

@media (width > 600px) {
    .gallery-grid figure:nth-child(1) {
        grid-area: span 2 / span 2;
    }

    .gallery-grid figure:nth-child(4n + 1) {
        grid-row: span 2;
    }

    .gallery-grid figure:nth-child(4n + 2) {
        grid-column: span 2;
    }
}

.gallery-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.gallery-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-info-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.gallery-info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 30px;
}

.btn-view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.3);
    text-align: center;
    justify-content: center;
}

.btn-view-gallery:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 121, 107, 0.4);
    color: white;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding: 35px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.why-item:hover {
    transform: translateX(15px);
    box-shadow: 0 12px 40px rgba(0, 121, 107, 0.12);
    border-left-color: var(--primary-orange);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.why-icon i {
    font-size: 30px;
    color: white;
}

.why-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 12px;
}

.why-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
    margin: 0;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.statistics {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #00695c 100%);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="rgba(255,255,255,0.05)" d="M0,0 L1200,0 L1200,120 C800,80 400,80 0,120 Z"/></svg>');
    background-size: cover;
}

.stats-overlay {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-circle {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-circle {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.stat-number {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 992px) {
    .letter-content {
        flex-direction: column;
        padding: 40px;
    }

    .director-photo {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .gallery-wrapper {
        flex-direction: column;
    }

    .gallery-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .stat-box:not(:last-child)::after {
        display: none;
    }

    .letter-text h2 {
        font-size: 28px;
    }
}

/* ============================================
   GALLERY MODAL STYLES
   ============================================ */
/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
    backdrop-filter: blur(10px);
}

.gallery-modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.gallery-modal-close {
    background: var(--primary-orange, #ff6b35);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.gallery-modal-close:hover {
    background: white;
    color: var(--primary-orange, #ff6b35);
    transform: rotate(90deg) scale(1.1);
}

.gallery-modal-body {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.gallery-modal-image-container {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-modal-nav:hover {
    background: var(--primary-orange, #ff6b35);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-nav.prev {
    left: 20px;
}

.gallery-modal-nav.next {
    right: 20px;
}

.gallery-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.gallery-modal-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1);
}

.gallery-modal-footer {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    text-align: center;
}

.gallery-modal-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.gallery-modal-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Loading spinner */
.gallery-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-orange, #ff6b35);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.gallery-loading.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .gallery-modal-header {
        padding: 15px;
    }

    .gallery-modal-title {
        font-size: 1.2rem;
    }

    .gallery-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .gallery-modal-nav.prev {
        left: 10px;
    }

    .gallery-modal-nav.next {
        right: 10px;
    }

    .gallery-modal-image {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-modal-title {
        font-size: 1rem;
    }

    .gallery-modal-description {
        font-size: 0.9rem;
    }
}

/* Enhanced Gallery Grid with Dark Overlay */
.gallery-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-grid figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-grid figure:hover::before {
    opacity: 1;
}

.gallery-grid figure:hover img {
    transform: scale(1.1);
}

.gallery-grid figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-grid figure:hover figcaption {
    transform: translateY(0);
}

.gallery-grid figcaption h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-grid figcaption p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Enhanced News Cards with Dark Overlay */
.news-card .news-image {
    position: relative;
    overflow: hidden;
}

.news-card .news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.7;
    z-index: 1;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-card .news-date {
    z-index: 2;
}

/* ============================================
   TESTIMONIAL CAROUSEL STYLES - Updated Design
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 14px);
    padding: 60px 25px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 50px;
    border-radius: 12px;
    background: white;
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 40px;
    color: #999;
    font-weight: 600;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-teal), #00695c);
    color: white;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-teal);
    margin-bottom: 15px;
    margin-top: 10px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--primary-orange);
    font-weight: 500;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    margin-top: 15px;
}

.testimonial-rating i {
    color: var(--primary-orange);
    font-size: 16px;
    margin: 0 2px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-teal);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: var(--primary-teal);
    width: 30px;
    border-radius: 6px;
}

/* Color variations for testimonial cards */
.testimonial-slide:nth-child(6n+1) {
    background: linear-gradient(135deg, #4a7ba7 0%, #5a8fb8 100%);
}

.testimonial-slide:nth-child(6n+2) {
    background: linear-gradient(135deg, #45b5aa 0%, #55c5ba 100%);
}

.testimonial-slide:nth-child(6n+3) {
    background: linear-gradient(135deg, #d64d7c 0%, #e65d8c 100%);
}

.testimonial-slide:nth-child(6n+4) {
    background: linear-gradient(135deg, #8b5fb8 0%, #9b6fc8 100%);
}

.testimonial-slide:nth-child(6n+5) {
    background: linear-gradient(135deg, #e67e4d 0%, #f68e5d 100%);
}

.testimonial-slide:nth-child(6n+6) {
    background: linear-gradient(135deg, #5cb85c 0%, #6cc86c 100%);
}

/* Update text colors for colored backgrounds */
.testimonial-slide:nth-child(6n+1) .testimonial-name,
.testimonial-slide:nth-child(6n+2) .testimonial-name,
.testimonial-slide:nth-child(6n+3) .testimonial-name,
.testimonial-slide:nth-child(6n+4) .testimonial-name,
.testimonial-slide:nth-child(6n+5) .testimonial-name,
.testimonial-slide:nth-child(6n+6) .testimonial-name {
    color: white;
}

.testimonial-slide:nth-child(6n+1) .testimonial-role,
.testimonial-slide:nth-child(6n+2) .testimonial-role,
.testimonial-slide:nth-child(6n+3) .testimonial-role,
.testimonial-slide:nth-child(6n+4) .testimonial-role,
.testimonial-slide:nth-child(6n+5) .testimonial-role,
.testimonial-slide:nth-child(6n+6) .testimonial-role {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-slide:nth-child(6n+1) .testimonial-text,
.testimonial-slide:nth-child(6n+2) .testimonial-text,
.testimonial-slide:nth-child(6n+3) .testimonial-text,
.testimonial-slide:nth-child(6n+4) .testimonial-text,
.testimonial-slide:nth-child(6n+5) .testimonial-text,
.testimonial-slide:nth-child(6n+6) .testimonial-text {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 10px);
    }

    .carousel-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 calc(100% - 20px);
    }

    .carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .testimonial-avatar {
        width: 100px;
        height: 100px;
        top: -50px;
    }

    .avatar-placeholder {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 20px;
    }

    .testimonial-slide {
        padding: 50px 20px 25px;
    }

    .testimonial-name {
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 95%;
        height: 95vh;
        margin: 2.5vh auto;
    }

    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-modal-info h3 {
        font-size: 20px;
    }

    .gallery-modal-info p {
        font-size: 14px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
}


/* ===========================================
        ABOUT US STYLES
============================================== */
.page-x-header {
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.8), rgba(26, 58, 82, 0.8)),
        url('../img/about/about-hero-3.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-x-header h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-x-header p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.page-x-breadcrumb {
    margin-top: 25px;
    font-size: 0.95em;
}

.page-x-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.page-x-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.page-x-breadcrumb span {
    margin: 0 10px;
}
@media (max-width: 480px) {
    .page-x-header p {
    font-size: 0.9em;
}
}
/* Section Styling */
.tmp-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5em;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1em;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Who We Are Section */
.who-we-are {
    background: var(--white);
}

.who-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.who-text h3 {
    color: var(--primary-teal);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.who-text p {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.who-image {
    position: relative;
    border-radius: 2px;
    border: solid 2px var(--accent-gold);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.who-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    color: var(--white);
    padding: 30px;
    border-radius: 2px;
    margin-top: 30px;
}

.highlight-box h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9em;
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

/* Mission Vision Philosophy Section for About Page */
.mvp-about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.mvp-about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

.cause-about-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 450px;
    overflow: hidden;
    border-radius: 1px;
}

.bg-about-thumbnail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    border-radius: 1px;
}

.card-about-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--accent-gold);
    padding: 35px 25px;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.cause-about-card:hover .card-about-content {
    background-color: rgba(255, 255, 255, 0.75);
    transform: translate(-50%, -50%) scale(1.02);
}

.card-about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: block;
}

.card-about-content h3 {
    font-size: 1.5em!important;
    color: var(--primary-teal)!important;
    margin-bottom: 15px!important;
    font-weight: 600!important;
    text-align: center!important;
    font-weight: 900;
    
    --x-offset: -0.0325em;
    --y-offset: 0.0325em;
    --stroke: 0.005em;
    --background-color: lightblue;
    --stroke-color: var(--light-bg);
    
    text-shadow: 
        
        var(--x-offset)
        var(--y-offset)
        0px
        var(--background-color), 
        
        calc( var(--x-offset) - var(--stroke) )
        calc( var(--y-offset) + var(--stroke) )
        0px
        var(--stroke-color);
}

.card-about-content p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Responsive Design for About Page MVP Section */
@media (max-width: 992px) {
    .mvp-about-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cause-about-card {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mvp-about-container {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cause-about-card {
        height: 380px;
    }
    
    .card-about-content {
        width: 85%;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .cause-about-card {
        height: 350px;
    }
    
    .card-about-content {
        width: 90%;
        padding: 25px 15px;
    }
    
    .card-about-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .card-about-content h3 {
        font-size: 1.3em;
    }
    
    .card-about-content p {
        font-size: 0.85em;
    }
}

/* Remove any conflicting styles from the previous attempt */
/* Add these lines to override any previous styles */
.mvp-container {
    display: block !important; /* Reset to default */
}

.cause-card {
    position: static !important; /* Reset to default */
    height: auto !important; /* Reset to default */
}

.bg-thumbnail {
    display: none !important; /* Hide if it exists */
}

.card-content {
    position: static !important; /* Reset to default */
    transform: none !important; /* Reset to default */
}

/* NEW: Core Values Section */
.values-section {
    background: var(--white);
}

.values-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border: solid 3px var(--primary-teal);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* background: var(--primary-teal); */
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8em;
    color: var(--white);
    transition: all 0.3s;
}

.value-card:hover .value-icon {
    background: var(--secondary-blue);
    transform: scale(1.1);
}

.value-card h4 {
    color: var(--secondary-blue);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Quick Links Section */
.quick-links {
    background: var(--light-bg);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.link-card {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    padding: 50px 30px;
    border-radius: 10px;
    border: solid 2px var(--accent-gold);
    text-align: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}



.link-card:hover::before {
    opacity: 1;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.link-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
}

.link-card h3 {
    font-size: 1.4em!important;
    margin-bottom: 15px!important;
    text-align: center!important;
    color: var(--primary-orange)!important;
}

.link-card p {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 20px;
    color: white;
}

.link-arrow {
    font-size: 1.5em;
    transition: transform 0.3s;
    color: var(--primary-orange);
}

.link-card:hover .link-arrow {
    transform: translateX(10px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 992px) {

    .who-content,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .mvp-container {
        grid-template-columns: 1fr;
    }

    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-x-header h1 {
        font-size: 2.5em;
    }

    .tmp-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-x-header {
        padding: 80px 0 60px;
    }

    .page-x-header h1 {
        font-size: 2em;
    }

    .section-title h2 {
        font-size: 2em;
    }

    .values-container {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        max-width: 300px;
    }
}
.tmp-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-align: justify;
}
@media (max-width: 480px) {
    .tmp-section h3 {
        text-align: center;
        font-weight: 600;
    }
}

.cause-card {
            position: relative;
            width: 100%;
            max-width: 380px;
            height: 450px;
            overflow: hidden;
        }

        .bg-thumbnail {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
            background-size: cover;
            background-position: center;
        }

        /* Different brilliant backgrounds for each card */
        .cause-card:nth-child(1) .bg-thumbnail {
            background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&q=80');
        }

        .cause-card:nth-child(2) .bg-thumbnail {
            background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=800&q=80');
        }

        .cause-card:nth-child(3) .bg-thumbnail {
            background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=800&q=80');
        }

        .card-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 75%;
            text-align: center;
            background-color: rgba(255, 255, 255, 0.5);
            border: 2px solid var(--primary-teal);
            padding: 35px 25px;
            z-index: 10;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
        }

        .cause-card:hover .card-content {
            background-color: rgba(255, 255, 255, 0.75);
            transform: translate(-50%, -50%) scale(1.02);
        }

        .card-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            display: block;
        }

        .card-content h3 {
            font-size: 1.5em;
            color: var(--secondary-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .card-content p {
            font-size: 0.9em;
            line-height: 1.6;
            color: #333;
            margin: 0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mvp-container {
                grid-template-columns: 1fr;
            }

            .cause-card {
                max-width: 100%;
                height: 420px;
            }

            .card-content {
                width: 85%;
                padding: 30px 20px;
            }

            .card-content h3 {
                font-size: 1.3em;
            }

            .card-content p {
                font-size: 0.85em;
            }

            .section-title h2 {
                font-size: 2em;
            }
        }

        @media (max-width: 480px) {
            
            .cause-card {
                height: 400px;
            }

            .card-content {
                width: 88%;
                padding: 25px 18px;
            }

            .card-icon {
                width: 60px;
                height: 60px;
                margin-bottom: 15px;
            }

            .card-content h3 {
                font-size: 1.2em;
                margin-bottom: 12px;
            }

            .card-content p {
                font-size: 0.8em;
            }
        }


/* ============================================
   HISTORY SECTION STYLES
   ============================================ */

.history-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.history-text h3 {
    font-size: 1.8em;
    color: var(--primary-teal);
    margin-bottom: 25px;
    text-align: left;
}

.history-text p {
    font-size: 0.9em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.history-text strong {
    color: var(--primary-teal);
    font-weight: 600;
}

.history-highlight {
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.05), rgba(255, 152, 0, 0.05));
    /* border-left: 4px solid var(--primary-orange); */
    padding: 25px;
    margin: 30px 0;
    border-radius: 2px;
}

.history-highlight h4 {
    color: var(--primary-teal);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3em;
}

.history-highlight p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 0.9em;
}

.history-quote {
    background: var(--white);
    /* border-left: 4px solid var(--primary-teal); */
    padding: 25px 30px;
    margin: 35px 0 0;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.history-quote i {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 30px;
    color: var(--primary-teal);
    opacity: 0.2;
}

.history-quote p {
    font-size: 0.9em;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-left: 25px;
    text-align: left;
}

.history-quote cite {
    display: block;
    text-align: right;
    color: var(--primary-teal);
    font-style: normal;
    font-weight: 600;
    font-size: 0.95em;
}

.history-image-container {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.history-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.history-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 121, 107, 0.9), transparent);
    color: var(--white);
    padding: 25px;
}

.history-image-caption h4 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.history-image-caption p {
    margin: 0;
    font-size: 1em;
    opacity: 0.9;
}

.history-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.history-fact {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.history-fact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.history-fact i {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    flex-shrink: 0;
}

.history-fact div {
    flex: 1;
}

.history-fact h5 {
    color: var(--secondary-blue);
    font-size: 0.8em;
    margin-bottom: 7px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-fact p {
    color: var(--text-dark);
    font-size: 0.7em;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .history-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .history-image-container img {
        height: 250px;
    }
    
    .history-facts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .history-text h3 {
        font-size: 1.6em;
        text-align: center;
    }
    
    .history-image-caption {
        padding: 15px;
    }
    
    .history-image-caption h4 {
        font-size: 1.5em;
    }
    
    .history-facts {
        grid-template-columns: 1fr;
    }
    
    .history-fact {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .history-highlight {
        padding: 20px;
    }
    
    .history-quote {
        padding: 20px;
    }
    
    .history-fact i {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
}

/* ============================================
   ADMINISTRATION PAGE STYLES
   ============================================ */

/* Page Header */
.admin-page-header {
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.8), rgba(26, 58, 82, 0.8)),
        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.admin-page-header h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-page-header p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* Section Styling */
.admin-section {
    padding: 80px 0;
}

.admin-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.admin-section-heading {
    font-size: 2.5em;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.admin-section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.admin-section-title p {
    color: var(--text-light);
    font-size: 1.1em;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Leadership Section */
.admin-leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.admin-leader-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.admin-leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-teal);
}

.admin-leader-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
}

.admin-leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.admin-leader-card:hover .admin-leader-image img {
    transform: scale(1.1);
}

.admin-leader-role-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-leader-info {
    padding: 25px;
}

.admin-leader-info h3 {
    font-size: 1.5em;
    color: var(--primary-teal);
    margin-bottom: 8px;
}

.admin-leader-position {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.05em;
    margin-bottom: 15px;
    display: block;
}

.admin-leader-info p {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.admin-leader-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.admin-leader-contact a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.admin-leader-contact a:hover {
    color: var(--primary-teal);
}

.admin-leader-contact i {
    width: 20px;
    color: var(--primary-teal);
}

/* Staff Section */
.admin-staff-departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.admin-department-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-teal);
    transition: all 0.3s;
}

.admin-department-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.admin-department-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: var(--white);
}

.admin-department-card h3 {
    color: var(--secondary-blue);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.admin-department-card p {
    color: var(--text-light);
    font-size: 0.95em;
    margin-bottom: 15px;
}

.admin-staff-count {
    display: inline-block;
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: var(--primary-teal);
    font-weight: 600;
}

/* Organizational Chart */
.admin-org-chart {
    background: var(--light-bg);
    padding: 60px 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.admin-org-level {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.admin-org-box {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid var(--primary-teal);
    position: relative;
}

.admin-org-box h4 {
    color: var(--primary-teal);
    font-size: 1.1em;
    margin-bottom: 5px;
}

.admin-org-box p {
    color: var(--text-light);
    font-size: 0.9em;
}

.admin-org-children {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-page-header h1 {
        font-size: 2em;
    }

    .admin-section-heading {
        font-size: 2em;
    }

    .admin-leadership-grid,
    .admin-staff-departments {
        grid-template-columns: 1fr;
    }

    .admin-leader-image {
        height: 300px;
    }

    .admin-org-children {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .admin-page-header {
        padding: 80px 0 60px;
    }

    .admin-section {
        padding: 60px 0;
    }

    .admin-leader-info {
        padding: 20px;
    }
}


/* ============================================
   NEWS PAGE STYLES - COMPLETE REDESIGN
   ============================================ */

/* Page Header */
.news-page-header {
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.9), rgba(26, 58, 82, 0.9)),
        url('../img/news/news-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-bottom: 40px;
}

.news-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.news-page-header .container {
    position: relative;
    z-index: 2;
}

.news-page-header h1 {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.news-page-header p {
    font-size: 1.25em;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.news-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95em;
}

.news-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
    transform: translateX(-2px);
}

.news-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.news-breadcrumb span i {
    font-size: 0.8em;
}

/* Mobile Category Selector */
.news-mobile-filter {
    display: none;
    padding: 15px 20px;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}

.news-mobile-select {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 2px solid var(--primary-teal);
    border-radius: 25px;
    background: var(--white);
    color: var(--primary-teal);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2300796B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    transition: all 0.3s;
}

.news-mobile-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.15);
    border-color: var(--secondary-blue);
}

/* Filter Section (Desktop) */
.news-filter-section {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.news-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.news-filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--primary-teal);
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.news-filter-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 121, 107, 0.2);
}

.news-filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.news-filter-btn.active {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 121, 107, 0.3);
}

.news-filter-btn.active::before {
    width: 0;
    height: 0;
}

.news-filter-btn span {
    position: relative;
    z-index: 1;
}

/* Main Section */
.news-main-section {
    padding: 60px 0 80px;
    background: var(--light-bg);
}

/* Featured News */
.news-featured-container {
    margin-bottom: 70px;
}

.news-featured-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-featured-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.news-featured-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.news-featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.news-featured-content:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.news-featured-text {
    padding: 40px 40px 40px 0;
    position: relative;
}

.news-featured-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.news-featured-text h2 {
    color: var(--primary-teal);
    font-size: 2.2em;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.news-featured-text p {
    color: var(--text-light);
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 30px;
    padding-right: 20px;
}

.news-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-teal);
}

.news-featured-btn:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 121, 107, 0.2);
}

/* News Grid */
.news-grid-container {
    margin-top: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-grid-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-grid-card:nth-child(2) { animation-delay: 0.1s; }
.news-grid-card:nth-child(3) { animation-delay: 0.2s; }
.news-grid-card:nth-child(4) { animation-delay: 0.3s; }
.news-grid-card:nth-child(5) { animation-delay: 0.4s; }
.news-grid-card:nth-child(6) { animation-delay: 0.5s; }
.news-grid-card:nth-child(7) { animation-delay: 0.6s; }
.news-grid-card:nth-child(8) { animation-delay: 0.7s; }

.news-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-grid-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-grid-card:hover .news-grid-image img {
    transform: scale(1.1);
}

.news-grid-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.news-grid-category[data-category="news"] {
    background: var(--primary-teal);
}

.news-grid-category[data-category="event"] {
    background: #FF9800;
}

.news-grid-category[data-category="announcement"] {
    background: #9C27B0;
}

.news-grid-category[data-category="achievement"] {
    background: #4CAF50;
}

.news-grid-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-grid-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-grid-content h3 {
    color: var(--secondary-blue);
    font-size: 1.35em;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.news-grid-content p {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.news-grid-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.news-grid-readmore {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.95em;
}

.news-grid-readmore:hover {
    gap: 12px;
    color: var(--secondary-blue);
}

.news-grid-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.85em;
}

.news-grid-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Loading States */
.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.news-loading i {
    font-size: 2.8em;
    color: var(--primary-teal);
    margin-bottom: 20px;
    display: block;
}

.news-loading p {
    font-size: 1.1em;
    color: var(--text-light);
}

.no-featured,
.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    color: var(--text-light);
    font-size: 1.1em;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.no-featured i,
.no-news i {
    font-size: 3.5em;
    color: var(--primary-teal);
    margin-bottom: 20px;
    opacity: 0.5;
    display: block;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 70px;
    flex-wrap: wrap;
}

.news-page-btn {
    width: 46px;
    height: 46px;
    border: 2px solid var(--primary-teal);
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95em;
}

.news-page-btn:hover:not(:disabled),
.news-page-btn.active {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 121, 107, 0.2);
}

.news-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--text-light);
    color: var(--text-light);
}

.news-page-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--white);
}

.news-page-dots {
    color: var(--text-light);
    font-size: 1.2em;
    padding: 0 5px;
}

/* Upcoming Events Section */
.news-events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.news-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-teal), var(--primary-orange));
}

.news-section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.news-section-title h2 {
    font-size: 2.5em;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.news-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.news-section-title p {
    color: var(--text-light);
    font-size: 1.15em;
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.6;
}

.events-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-teal), var(--secondary-blue));
    border-radius: 2px;
}

.event-timeline-item {
    position: relative;
    background: var(--white);
    padding: 30px 30px 30px 100px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.event-timeline-item:nth-child(2) { animation-delay: 0.2s; }
.event-timeline-item:nth-child(3) { animation-delay: 0.4s; }

.event-timeline-item:hover {
    transform: translateX(10px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.event-timeline-item::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 35px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-teal);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s;
}

.event-timeline-item:hover::before {
    background: var(--primary-orange);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.2);
}

.event-timeline-date {
    position: absolute;
    left: -90px;
    top: 25px;
    width: 80px;
    height: 80px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 121, 107, 0.3);
    transition: all 0.3s;
}

.event-timeline-item:hover .event-timeline-date {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 121, 107, 0.4);
}

.event-date-day {
    font-size: 1.8em;
    line-height: 1;
    font-weight: 700;
}

.event-date-month {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.event-timeline-content h3 {
    color: var(--secondary-blue);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.event-timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1em;
}

.event-timeline-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.95em;
    flex-wrap: wrap;
}

.event-timeline-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-weight: 500;
}

.event-timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s;
    padding: 8px 20px;
    border: 2px solid var(--primary-teal);
    border-radius: 25px;
    background: rgba(0, 121, 107, 0.05);
}

.event-timeline-link:hover {
    background: var(--primary-teal);
    color: var(--white);
    gap: 15px;
    padding: 8px 25px;
}

.events-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.events-loading i {
    font-size: 2.8em;
    color: var(--primary-teal);
    margin-bottom: 20px;
    display: block;
}

.no-events-message {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-light);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.no-events-message i {
    font-size: 3.5em;
    color: var(--primary-teal);
    margin-bottom: 20px;
    opacity: 0.5;
    display: block;
}

.no-events-message h3 {
    color: var(--secondary-blue);
    margin-bottom: 10px;
    font-size: 1.5em;
}

.no-events-message p {
    color: var(--text-light);
    font-size: 1.1em;
    max-width: 400px;
    margin: 0 auto;
}

/* Newsletter Section */
.news-newsletter-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.news-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.news-newsletter-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.news-newsletter-box h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-newsletter-box p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.news-newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 550px;
    margin: 0 auto 25px;
}

.news-newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.05em;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s;
}

.news-newsletter-form input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-newsletter-form .btn {
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--white);
    background: var(--accent-gold);
    color: var(--white);
    font-size: 1.05em;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.news-newsletter-form .btn:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.news-newsletter-note {
    font-size: 0.95em;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.news-modal.active {
    display: flex;
    opacity: 1;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.news-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: backdropFadeIn 0.3s ease;
}

@keyframes backdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.news-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    z-index: 2;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.news-modal-header {
    padding: 25px 35px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-modal-title {
    font-size: 1.6em;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    padding-right: 20px;
}

.news-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.3em;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    flex-shrink: 0;
}

.news-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.news-modal-body {
    padding: 35px;
    overflow-y: auto;
    flex: 1;
}

.news-modal-loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.news-modal-loading.active {
    display: block;
}

.news-modal-loading i {
    font-size: 3em;
    color: var(--primary-teal);
    margin-bottom: 20px;
    display: block;
}

.news-modal-image-container {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-modal-image:hover {
    transform: scale(1.05);
}

.news-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    font-size: 0.95em;
}

.news-modal-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-teal);
    font-weight: 500;
}

.news-modal-meta i {
    color: var(--primary-orange);
    font-size: 1.1em;
}

.news-modal-description {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.1em;
}

.news-modal-description p {
    margin-bottom: 20px;
}

.news-modal-description h1,
.news-modal-description h2,
.news-modal-description h3,
.news-modal-description h4 {
    color: var(--secondary-blue);
    margin: 25px 0 15px;
}

.news-modal-description ul,
.news-modal-description ol {
    margin: 15px 0 15px 20px;
}

.news-modal-description li {
    margin-bottom: 10px;
}

.news-modal-footer {
    padding: 25px 35px;
    background: var(--light-bg);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.news-modal-share,
.news-modal-print {
    padding: 12px 25px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 0.95em;
}

.news-modal-share:hover,
.news-modal-print:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Notification System */
.news-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    border-left: 4px solid var(--primary-teal);
}

.news-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.news-notification-success {
    border-left-color: #4CAF50;
}

.news-notification-error {
    border-left-color: #F44336;
}

.news-notification i {
    font-size: 1.4em;
    flex-shrink: 0;
}

.news-notification-success i {
    color: #4CAF50;
}

.news-notification-error i {
    color: #F44336;
}

.news-notification span {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95em;
    line-height: 1.4;
}

.news-notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .news-page-header {
        padding: 100px 0 60px;
    }
    
    .news-page-header h1 {
        font-size: 2.8em;
    }
    
    .news-featured-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .news-featured-image {
        min-height: 350px;
        height: 350px;
    }
    
    .news-featured-text {
        padding: 40px;
    }
    
    .news-featured-text h2 {
        font-size: 2em;
    }
    
    .events-timeline::before {
        left: 35px;
    }
    
    .event-timeline-date {
        left: -80px;
        width: 70px;
        height: 70px;
    }
    
    .event-timeline-item {
        padding: 25px 25px 25px 90px;
    }
    
    .news-modal-content {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .news-mobile-filter {
        display: block;
    }
    
    .news-filter-section {
        display: none;
    }
    
    .news-page-header h1 {
        font-size: 2.3em;
    }
    
    .news-page-header p {
        font-size: 1.1em;
    }
    
    .news-featured-text h2 {
        font-size: 1.8em;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .news-section-title h2 {
        font-size: 2em;
    }
    
    .events-timeline {
        padding-left: 30px;
    }
    
    .events-timeline::before {
        left: 15px;
    }
    
    .event-timeline-item {
        padding: 25px 25px 25px 60px;
    }
    
    .event-timeline-item::before {
        left: 8px;
    }
    
    .event-timeline-date {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        color: var(--primary-teal);
        flex-direction: row;
        gap: 15px;
        margin-bottom: 15px;
        box-shadow: none;
        font-weight: 600;
    }
    
    .event-date-day,
    .event-date-month {
        font-size: 1em;
    }
    
    .news-newsletter-box h2 {
        font-size: 2.2em;
    }
    
    .news-newsletter-form {
        flex-direction: column;
    }
    
    .news-newsletter-form input,
    .news-newsletter-form .btn {
        width: 100%;
    }
    
    .news-modal-header,
    .news-modal-body,
    .news-modal-footer {
        padding: 20px;
    }
    
    .news-modal-image {
        height: 250px;
    }
    
    .news-modal-title {
        font-size: 1.3em;
    }
    
    .news-notification {
        left: 20px;
        right: 20px;
        max-width: none;
        top: 80px;
    }
}

@media (max-width: 576px) {
    .news-page-header {
        padding: 80px 0 50px;
    }
    
    .news-page-header h1 {
        font-size: 2em;
    }
    
    .news-breadcrumb {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    
    .news-main-section,
    .news-events-section {
        padding: 50px 0;
    }
    
    .news-featured-content {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .news-featured-image {
        min-height: 280px;
        height: 280px;
    }
    
    .news-featured-text {
        padding: 30px 20px;
    }
    
    .news-featured-btn {
        width: 100%;
        justify-content: center;
    }
    
    .news-grid-content {
        padding: 20px;
    }
    
    .news-grid-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .news-grid-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .news-pagination {
        gap: 5px;
        margin-top: 50px;
    }
    
    .news-page-btn {
        width: 42px;
        height: 42px;
        font-size: 0.9em;
    }
    
    .news-section-title h2 {
        font-size: 1.8em;
    }
    
    .news-section-title p {
        font-size: 1em;
    }
    
    .event-timeline-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-newsletter-section {
        padding: 70px 0;
    }
    
    .news-newsletter-box h2 {
        font-size: 1.9em;
    }
    
    .news-newsletter-box p {
        font-size: 1em;
    }
    
    .news-modal-content {
        max-height: 95vh;
        margin: 0;
        border-radius: 0;
    }
    
    .news-modal-image {
        height: 200px;
    }
    
    .news-modal-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .news-modal-footer {
        flex-direction: column;
    }
    
    .news-modal-share,
    .news-modal-print {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .news-page-header h1 {
        font-size: 1.8em;
    }
    
    .news-grid-card {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .news-grid-image {
        height: 200px;
    }
}

/* Print Styles */
@media print {
    .news-filter-section,
    .news-mobile-filter,
    .news-newsletter-section,
    .news-modal-share,
    .news-modal-print,
    .news-featured-btn,
    .news-grid-readmore,
    .event-timeline-link {
        display: none !important;
    }
    
    .news-page-header {
        background: none !important;
        color: #000 !important;
        padding: 40px 0 !important;
    }
    
    .news-grid-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        margin-bottom: 20px !important;
    }
    
    .news-featured-content {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .event-timeline-item {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}

/* Accessibility Improvements */
.news-filter-btn:focus,
.news-page-btn:focus,
.news-grid-readmore:focus,
.news-modal-close:focus,
.news-newsletter-form input:focus,
.news-newsletter-form .btn:focus,
.news-modal-share:focus,
.news-modal-print:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Skip to content for keyboard users */
.news-skip-link {
    position: absolute;
    top: -40px;
    left: 20px;
    background: var(--primary-teal);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    z-index: 10001;
}

.news-skip-link:focus {
    top: 20px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .news-grid-card,
    .event-timeline-item,
    .news-featured-content {
        border: 2px solid #000;
    }
    
    .news-filter-btn,
    .news-page-btn {
        border: 2px solid #000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .news-grid-card,
    .event-timeline-item,
    .news-featured-content,
    .news-filter-btn,
    .news-page-btn,
    .news-featured-btn,
    .news-grid-readmore,
    .event-timeline-link,
    .news-modal-content,
    .news-notification,
    .news-modal-close,
    .news-modal-share,
    .news-modal-print,
    .news-newsletter-form .btn {
        transition: none !important;
        animation: none !important;
    }
    
    .news-grid-card:hover,
    .event-timeline-item:hover {
        transform: none !important;
    }
}

/* ============================================
   MODERN NEWS PAGE STYLES
   Clean, Elegant Blog-Style Layout
   ============================================ */

/* Base Layout */
.news-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 100px;
    background: #fafafa;
    min-height: 100vh;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */

.news-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 40px;
}

.sidebar-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 2px 2px 40% 40%;
    overflow: hidden;
    background: #fff;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-title {
    font-size: 1.5em;
    font-weight: 700;
    /* color: #1a1a1a; */
    color: var(--primary-teal);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.sidebar-subtitle {
    font-size: 0.9em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 45px;
}

.widget-title {
    font-size: 0.85em;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 25px 0;
}

/* Recent Posts */
.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    margin: -10px;
    border-radius: 2px;
}

.recent-post-item:hover {
    background: #f9f9f9;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 2px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.05);
}

.recent-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-info h4 {
    font-size: 0.9em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 0.75em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Categories */
.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-btn {
    background: transparent;
    border: none;
    padding: 12px 15px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
    font-weight: 500;
}

.category-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #1a1a1a;
    transition: height 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    color: #1a1a1a;
    background: #f5f5f5;
}

.category-btn.active::before {
    height: 100%;
}

/* About Widget */
.sidebar-about p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.subscribe-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: gap 0.3s ease;
}

.subscribe-link:hover {
    gap: 12px;
}

/* Social Links */
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.sidebar-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.sidebar-social a:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   MAIN CONTENT STYLES
   ============================================ */

.news-main {
    background: transparent;
}

/* Featured Post */
.featured-post {
    background: #ffffff;
    margin-bottom: 60px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.featured-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.featured-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
}

.featured-content {
    padding: 50px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-date {
    font-weight: 500;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.post-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.post-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
}

.post-excerpt {
    font-size: 1.15em;
    line-height: 1.8;
    color: #666;
    margin: 0 0 35px 0;
}

.btn-read-more {
    background: var(--primary-teal);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-read-more:hover {
    background: var(--dark-blue);
    gap: 18px;
}

.post-stats {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
    font-size: 0.85em;
    color: #999;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.post-card {
    background: #ffffff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.post-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--accent-gold);
    color: #fff;
    padding: 6px 15px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 2px;
}

.post-body {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .post-meta {
    margin-bottom: 20px;
}

.post-card .post-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.post-card .post-excerpt {
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0 0 25px 0;
    flex: 1;
}

.post-card .btn-read-more {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 0.8em;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    font-size: 0.8em;
    color: #999;
}

.post-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pagination */
.pagination-container {
    margin: 40px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.page-btn {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    color: #666;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(.disabled) {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
}

.page-btn.active {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-dots {
    color: #ccc;
    padding: 0 5px;
}

/* Newsletter Section */
.newsletter-section {
    /* background: #1a1a1a; */
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    color: #fff;
    padding: 80px 60px;
    text-align: center;
    border-radius: 2px;
    margin: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.newsletter-content h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}

.newsletter-content > p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 550px;
    margin: 0 auto 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 2px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-subscribe {
    background: #fff;
    color: #1a1a1a;
    border: none;
    padding: 18px 40px;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    white-space: nowrap;
}

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

.newsletter-privacy {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Page Navigation */
.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.nav-btn {
    background: var(--primary-teal);
    color: #fff;
    border: none;
    padding: 18px 35px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn:hover:not(:disabled) {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.post-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 14, 32, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 2px;
    z-index: 2;
    overflow-y: auto;
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
    font-size: 1.2em;
    color: #1a1a1a;
}

.modal-close:hover {
    background: var(--primary-orange);
    color: #fff;
    transform: rotate(90deg);
}

.modal-header-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.modal-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-article {
    padding: 60px 80px 80px;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-category {
    background: var(--primary-teal);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
}

.modal-date {
    display: flex;
    align-items: center;
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1.2;
    margin: 0 0 30px 0;
    letter-spacing: -1.5px;
}

.modal-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 40px;
}

.modal-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.modal-author div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-author strong {
    color: #1a1a1a;
    font-weight: 600;
}

.modal-author span {
    font-size: 0.85em;
    color: #999;
}

.modal-content-text {
    font-size: 1.1em;
    line-height: 1.9;
    color: #444;
}

.modal-content-text p {
    margin-bottom: 25px;
}

.modal-content-text h1,
.modal-content-text h2,
.modal-content-text h3 {
    color: #1a1a1a;
    font-weight: 700;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.modal-stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
    font-size: 0.9em;
    color: #999;
}

.modal-stats span {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Loading States */
.post-loading,
.widget-loading,
.modal-loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.post-loading i,
.widget-loading i,
.modal-loading i {
    font-size: 2em;
    margin-bottom: 15px;
    display: block;
}

.modal-loading {
    display: none;
}

.modal-loading.active {
    display: block;
}

.no-content {
    text-align: center;
    padding: 80px 40px;
    color: #999;
}

.no-content i {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
    opacity: 0.3;
}

.no-content-small {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 0.9em;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #1a1a1a;
    color: #fff;
    padding: 18px 25px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    background: #4CAF50;
}

.notification i {
    font-size: 1.3em;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .news-container {
        grid-template-columns: 280px 1fr;
        gap: 40px;
        padding: 60px 30px 80px;
    }
    
    .posts-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .news-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 25px 70px;
    }
    
    .news-sidebar {
        position: static;
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .news-main {
        order: 1;
    }
    
    .featured-content {
        padding: 40px;
    }
    
    .post-title {
        font-size: 2.2em;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto 60px;
    }
}

@media (max-width: 768px) {
    .news-container {
        padding: 40px 20px 60px;
    }
    
    .featured-image {
        height: 350px;
    }
    
    .featured-content {
        padding: 30px 25px;
    }
    
    .post-title {
        font-size: 1.8em;
    }
    
    .post-excerpt {
        font-size: 1.05em;
    }
    
    .newsletter-section {
        padding: 60px 30px;
    }
    
    .newsletter-content h2 {
        font-size: 2em;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .modal-article {
        padding: 40px 30px 60px;
    }
    
    .modal-title {
        font-size: 2.2em;
    }
    
    .page-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .sidebar-header {
        padding-bottom: 25px;
        margin-bottom: 30px;
    }
    
    .featured-image {
        height: 280px;
    }
    
    .featured-content {
        padding: 25px 20px;
    }
    
    .post-title {
        font-size: 1.6em;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .btn-read-more {
        width: 100%;
        justify-content: center;
    }
    
    .post-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-thumbnail {
        height: 220px;
    }
    
    .newsletter-section {
        padding: 50px 20px;
        border-radius: 0;
        margin: 60px -20px 40px;
    }
    
    .newsletter-content h2 {
        font-size: 1.8em;
    }
    
    .modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header-image {
        height: 300px;
    }
    
    .modal-article {
        padding: 30px 20px 50px;
    }
    
    .modal-title {
        font-size: 1.8em;
    }
    
    .modal-content-text {
        font-size: 1.05em;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* Print Styles */
@media print {
    .news-sidebar,
    .btn-read-more,
    .newsletter-section,
    .page-navigation,
    .pagination-container,
    .modal-close,
    .post-stats {
        display: none !important;
    }
    
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        break-inside: avoid;
    }
}

