/* ========================================
   POLITICAL WEBSITE HEADER STYLES
   Pixel-perfect design matching the provided layout
======================================== */
body{
      font-family: "Arvo", serif;
  font-weight: 400;
  font-style: normal;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px; /* Adjust based on your header height */
}

/* Top Header Styles */
.top-header {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display:none;
}

.top-header a {
    color: white;
    text-decoration: none;
}

.top-header .contact-info {
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.top-header .contact-item {
    margin-right: 25px;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.top-header .contact-item i {
    margin-right: 6px;
    font-size: 12px;
    width: 14px;
    text-align: center;
}

.top-header .contact-item strong {
    font-weight: 600;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 15px;
}
.sectionOne  .slick-slide{
    min-height:760px
}
.social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 13px;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
}

.social-icons a:last-child {
    border-right: none;
}

.social-icons a:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateY(-1px);
}

/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.logo {
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

/* Navigation Bar */
.main-nav {
    padding: 0;
    min-height: 60px;

}

.main-nav .navbar-toggler {
    border: none;
    padding: 8px 12px;
    margin-left: 15px;
}

.main-nav .navbar-toggler:focus {
    box-shadow: none;
}

.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    align-items: stretch;
    padding-left: 15px;    gap: 1rem;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: stretch;
}

.navbar-nav .nav-link {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    display: block;
    font-size: 12px;
    line-height: 86px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 15px;
    -webkit-transition: all 250ms 
ease-in-out;
    transition: all 250ms 
ease-in-out 0s;    color: #1a1b22;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background: #e3111a;
    color: white !important;
}

.navbar-nav .nav-link.active {
    background: #e3111a;
    color: white !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #870005;
}

/* Dropdown indicator for menu items with submenus */
.navbar-nav .dropdown > .nav-link::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

/* Navigation Actions */
.navbar-actions {
    padding-right: 15px;
}

.search-icon {
    color: white;
    font-size: 16px;
    padding: 20px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.search-icon:hover {
    background: rgba(0,0,0,0.15);
}

.contribute-btn {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 0;
    margin-left: 10px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.contribute-btn:hover {
    background: linear-gradient(135deg, #a71e2a 0%, #8b1a1a 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-slider-two .hero-image{ position: relative;}
.hero-slider-two .hero-image img{ }


/* Responsive Design */
@media (max-width: 1199.98px) {
    .top-header .contact-item {
        margin-right: 20px;
        font-size: 12px;
    }
    
    .navbar-nav .nav-link {
        padding: 18px 15px;
        font-size: 13px;
    }
    
    .contribute-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .top-header {
        text-align: center;
    }
    
    .top-header .contact-info {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    .top-header .contact-item {
        margin: 2px 15px;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 5px;
    }
    
    .main-header {
        text-align: center;
    }
    
    .logo {
        justify-content: center;
        padding: 0;
    }
    
    .navbar-nav {
        padding: 0;
        background: rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        justify-content: center;
    }
    
    .navbar-actions {
        justify-content: center;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .search-icon {
        border-right: 1px solid rgba(255,255,255,0.1);
    }
}

@media (max-width: 767.98px) {
    .hero-description br{ display:none;}
    .sectionOne .slick-slide {
    min-height: 473px;
}
    .hero-slider-two .hero-image img {
    position: relative;
    top: -46px;        top: 28px;        top: 18px;
}
    .mobile-order2{ order:2;}
    .mobile-order1{ order:1;}
    .top-header .contact-item {
        font-size: 11px;
        margin: 2px 10px;
    }
    
    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .contribute-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* Additional styling for better visual hierarchy */
.header1 {
    position: relative;
    z-index: 1000;
}

/* Smooth transitions for all interactive elements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
.navbar-nav .nav-link:focus,
.search-icon:focus,
.contribute-btn:focus,
.social-icons a:focus {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

/* ========================================
   HERO SECTION STYLES
   Matching the provided design with Slick slider
======================================== */
.row.h-100.align-items-center {
    position: relative;
}

.hero-slide-one .hero-image{
        max-height: 515px;
}


.slick-track,.slick-list{
        height: 100%;
}

.hero-section {
    position: relative;
    /* height: 100vh; */
    /* min-height: 600px; */
    overflow: hidden;
}
.h-100{
        height: 100% !important;
    min-height: 600px;
}
.hero-slider {
    height: 100%;

    max-height: 874px;    
       max-height: 559px; 
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(44 82 130) 0%, rgb(26 54 93 / 90%) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    /* max-height: 616px; */

        /* opacity: 0.9; */
    -webkit-filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.35));
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.35));

}


.hero-content {
    color: white;
    text-align: left;
    padding-left: 50px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
    font-family: "Arvo", serif;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.hero-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Hero Navigation Dots */
.hero-nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.hero-nav-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-nav-dots .dot:hover {
    background: rgba(255,255,255,0.8);
}

/* Slick Slider Arrows */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

.slick-prev:before,
.slick-next:before {
    display: none;
}

/* Responsive Design for Hero Section */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        padding-left: 30px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slide {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding-left: 0;
        margin-top: 30px;
    }
    
    .hero-image {
        margin-bottom: 20px;
    }
    
    .hero-image img {
        max-height: 300px;
    }
    
    .slick-prev,
    .slick-next {
        display: none !important;
    }
}


@media (min-width: 768.98px) {

.hero-slider-two .hero-image {
    position: absolute;
    width: 136%;
    top: -355px;
    left: -28px;
}
    .inner-content-by-ai{ margin-top:60px;}
.slick-dotted.slick-slider {
    margin-bottom: 0px !important;
}

}
@media (max-width: 767.98px) {
.h-100{
min-height: 0;
}


    .hero-slide {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-section {
        height: 70vh;
        min-height: 450px;
        height: auto;
        min-height: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .hero-image img {
              max-height: 344px;
        margin-left: auto;
        margin-right: auto;        
    }
    
    .hero-nav-dots {
        bottom: 20px;
    }
    
    .hero-nav-dots .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    

}

/* Custom Slick Dots for Mobile */
@media (max-width: 991.98px) {
    .slick-dots {
        bottom: 20px;
        text-align: center;
    }
    
    .slick-dots li {
        margin: 0 5px;
    }
    
    .slick-dots li button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        border: none;
        font-size: 0;
        transition: all 0.3s ease;
    }
    
    .slick-dots li.slick-active button {
        background: white;
        transform: scale(1.2);
    }
    
    .slick-dots li button:before {
        display: none;
    }
}

/* ========================================
   GOALS & ACHIEVEMENTS SECTION STYLES
   Matching the provided design layout
======================================== */

.goals-achievements-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    font-family: "Arvo", serif;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: "Arvo", serif;
    text-transform: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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



.achievements-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-family: "Arvo", serif;
    line-height: 1.2;
}

.achievements-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}

.signature {
    margin-top: 30px;
}

.signature-img {
    max-width: 120px;
    height: auto;
    opacity: 0.8;
}

/* Responsive Design for Goals & Achievements Section */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .achievements-title {
        font-size: 2rem;
    }
    
    .achievements-content {
        padding-left: 30px;
    }
}

@media (max-width: 991.98px) {
    .goals-achievements-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .achievements-content {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
    }
    
    .achievements-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .video-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .goals-achievements-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .achievements-title {
        font-size: 1.6rem;
    }
    
    .achievements-text {
        font-size: 0.95rem;
    }
    
    .video-container {
        border-radius: 6px;
    }
}

@media (max-width: 575.98px) {
    .goals-achievements-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .achievements-title {
        font-size: 1.4rem;
    }
    
    .achievements-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .signature-img {
        max-width: 100px;
    }
}

/* ========================================
   GET INVOLVED SECTION STYLES
   Matching the provided design with background overlay
======================================== */

.get-involved-section {
    position: relative;
    padding: 120px 0;
    background-image: url('https://joelpark.ca/wp-content/uploads/2025/10/photo-1529107386315-e1a2ed48a620.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Arvo", serif;
    overflow: hidden;
        background: #7d7c7c;
}

.get-involved-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.8) 100%);
    z-index: 1;
}

.get-involved-section .container {
    position: relative;
    z-index: 2;
}

.get-involved-content {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.get-involved-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: "Arvo", serif;
    text-transform: none;
    letter-spacing: -1px;
}

.get-involved-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 400;
    font-style: italic;
}

.get-involved-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.get-involved-btn {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: "Arvo", serif;
    position: relative;
    overflow: hidden;
}

.get-involved-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.get-involved-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.get-involved-btn:hover:before {
    left: 0;
}

/* Responsive Design for Get Involved Section */
@media (max-width: 1199.98px) {
    .get-involved-section {
        padding: 100px 0;
    }
    
    .get-involved-title {
        font-size: 3rem;
    }
    
    .get-involved-subtitle {
        font-size: 1.2rem;
    }
    
    .get-involved-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .get-involved-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .get-involved-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .get-involved-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .get-involved-description {
        font-size: 0.9rem;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .get-involved-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .get-involved-section {
        padding: 60px 0;
    }
    
    .get-involved-title {
        font-size: 2rem;
    }
    
    .get-involved-subtitle {
        font-size: 1rem;
    }
    
    .get-involved-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .get-involved-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .get-involved-section {
        padding: 50px 0;
    }
    
    .get-involved-title {
        font-size: 1.8rem;
        letter-spacing: 0;
    }
    
    .get-involved-subtitle {
        font-size: 0.95rem;
    }
    
    .get-involved-description {
        font-size: 0.8rem;
        padding: 0 20px;
    }
    
    .get-involved-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Additional styling for better accessibility and performance */
@media (max-width: 480px) {
    .get-involved-section {
        background-attachment: scroll;
    }
    
    .get-involved-overlay {
        background: rgba(255, 255, 255, 0.92);
    }
}

/* ========================================
   FEATURES SECTION STYLES
   6 features arranged around Canada flag in center
======================================== */

.features-section {
    padding: 70px 0;
    background-color: #ffffff;
    font-family: "Arvo", serif;
}

.flag-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.canada-flag {
       /* max-width: 319px; */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.canada-flag:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-box {

    background: transparent;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
}

.feature-title {
    font-size: 1.5rem;    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
    font-family: "Arvo", serif;
    line-height: 1.3;    margin-bottom: 1rem;
}

.feature-description {
    font-size: 0.90rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    font-weight: 300;    margin-bottom: 1.5rem;
}

/* Text alignment for left and right columns */
.text-right .feature-title,
.text-right .feature-description {
    text-align: right;
    text-align: left;
}

.text-left .feature-title,
.text-left .feature-description {
    text-align: left;
}

/* Responsive Design for Features Section */
@media (max-width: 1199.98px) {
    .features-section {
        padding: 80px 0;
    }
    
    .canada-flag {
        max-width: 250px;
    }
    
    .feature-title {
        font-size: 1.4rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .flag-container {
        min-height: 350px;
    }
}

@media (max-width: 991.98px) {
    .features-section {
        padding: 60px 0;
    }
    
    .flag-container {
        min-height: 300px;
        margin-bottom: 40px;
        padding: 20px 0;
    }
    
    .canada-flag {
        max-width: 200px;
    }
    
    /* Center align all text on tablet */
    .text-right .feature-title,
    .text-right .feature-description,
    .text-left .feature-title,
    .text-left .feature-description {
        text-align: center;
    }
    
    .feature-box {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .features-section {
        padding: 50px 0;
    }
    
    .flag-container {
        min-height: 250px;
        margin-bottom: 30px;        display:none;
    }
    
    .canada-flag {
        max-width: 180px;        display: none;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .feature-box {
        padding: 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .features-section {
    padding: 50px 0;
    }
    
    .flag-container {
        min-height: 200px;
        padding: 15px 0;
        display:none;
    }
    
    .canada-flag {
        max-width: 150px;        display: none;
    }
    
    .feature-title {
           font-size: 1.4rem;
    }
    
    .feature-description {
         font-size: 1rem;
    }
    
    .feature-box {
        padding: 10px;
        margin-bottom: 25px;
    }
}

/* Additional enhancements for better visual hierarchy */
@media (min-width: 992px) {
    .feature-box {
        position: relative;
    }
    
    .feature-box::before {
        content: '';
        /* position: absolute;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, transparent 0%, #dc3545 50%, transparent 100%);
        opacity: 0;
        transition: all 0.3s ease; */
    }
    
    .text-right .feature-box::before {
        right: 0;
    }
    
    .text-left .feature-box::before {
        left: 0;
    }
    
    .feature-box:hover::before {
        opacity: 1;
    }
}

/* ========================================
   PRESIDENT'S CABINET SECTION STYLES
   Professional team showcase with 2 members
======================================== */

.cabinet-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    font-family: "Arvo", serif;    padding-bottom: 0;
}
.footer-description a {
    color: #fff;
    text-decoration: underline;
}
.cabinet-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: "Arvo", serif;
    text-transform: none;
}

.cabinet-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 10px;
    font-weight: 400;
}

.cabinet-member {
    background: white;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cabinet-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.member-image-container {
    position: relative;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 30px auto 25px;
    border-radius: 50%;
    border: 5px solid #f0f0f0;
        border: 5px solid #d11920;
}

.member-photo {
    width: 100%;
    height: 100%;
object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cabinet-member:hover .member-photo {
    transform: scale(1.05);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-family: "Arvo", serif;
    text-transform: uppercase;
}

.member-position {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 400;
}

.member-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    padding: 0 25px 35px;
    margin-bottom: 0;
    font-weight: 400;
}

.work-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: "Arvo", serif;
    margin-top: 60px;
}

.work-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Responsive Design for Cabinet Section */
@media (max-width: 1199.98px) {
    .cabinet-section {
        padding: 80px 0;
    }
    
    .cabinet-main-title {
        font-size: 2.5rem;
    }
    
    .work-title {
        font-size: 2.4rem;
    }
    
    .member-image-container {
        width: 180px;
        height: 180px;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    .cabinet-section {
        padding: 60px 0;
    }
    
    .cabinet-main-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .cabinet-subtitle {
        font-size: 1rem;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .work-title {
        font-size: 2rem;
        margin-top: 50px;
    }
    
    .work-description {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .member-image-container {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 767.98px) {
.mobile-layot-adjust {
    margin-right: auto;
    margin-left: auto;
    padding-top: 10px;
    padding-bottom: 3px;
}
.main-nav {
    display: none;
}
    .cabinet-section {
        padding: 50px 0;
    }
    
    .cabinet-main-title {
        font-size: 1.8rem;
    }
    
    .cabinet-subtitle {
        font-size: 0.95rem;
    }
    
    .work-title {
        font-size: 1.8rem;
        margin-top: 40px;
    }
    
    .work-description {
        font-size: 0.9rem;
    }
    
    .member-image-container {
        width: 140px;
        height: 140px;
        margin: 25px auto 20px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-position {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .member-description {
        font-size: 0.85rem;
        padding: 0 20px 30px;
    }
}

@media (max-width: 575.98px) {
    .cabinet-section {
        padding: 40px 0;
    }
    
    .cabinet-main-title {
        font-size: 1.6rem;
    }
    
    .work-title {
        font-size: 1.6rem;
    }
    
    .member-image-container {
        width: 120px;
        height: 120px;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .member-description {
        font-size: 0.8rem;
        padding: 0 15px 25px;
    }
}

/* Additional hover effects and animations */
.cabinet-member {
    animation: fadeInUp 0.6s ease-out;
}

.cabinet-member:nth-child(1) { animation-delay: 0.1s; }
.cabinet-member:nth-child(2) { animation-delay: 0.2s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disable animations on mobile for better performance */
@media (max-width: 767px) {
    .cabinet-member {
        animation: none;
    }
}

/* ========================================
   FOOTER SECTION STYLES
   Matching the provided design layout
======================================== */

.main-footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    font-family: "Arvo", serif;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
}

.footer-left {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;    justify-content: center;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;-webkit-filter: invert(100%);
    filter: invert(100%);

}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    font-family: "Arvo", serif;
    letter-spacing: 1px;
}

.footer-brand sup {
    font-size: 0.8rem;
    color: #dc3545;
    font-weight: 400;
}

.footer-description {
    margin-bottom: 40px;
}

.footer-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 0;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:last-child {
    border-right: none;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.google {
    background: #dd4b39;
}

.social-link.pinterest {
    background: #bd081c;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.footer-map {
    position: relative;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map {
    width: 80%;
    height: 80%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><path d="M150,200 Q200,150 300,180 Q400,200 450,160 Q500,120 600,140 Q700,160 750,200 Q800,240 850,220" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="2"/><circle cx="200" cy="180" r="4" fill="%23dc3545"/><circle cx="400" cy="200" r="4" fill="%23dc3545"/><circle cx="600" cy="140" r="4" fill="%23dc3545"/><circle cx="750" cy="200" r="4" fill="%23dc3545"/></svg>') no-repeat center;
    background-size: contain;
}

.footer-copyright {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Responsive Design for Footer */
@media (max-width: 1199.98px) {
    .footer-content {
        padding: 60px 0 40px;
    }
    
    .footer-left {
        padding-right: 20px;
    }
    
    .footer-logo-img {
        max-height: 50px;
    }
    
    .footer-brand {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .footer-content {
        padding: 50px 0 30px;
    }
    
    .footer-left {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 25px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-description {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .footer-content {
        padding: 40px 0 20px;
    }
    
    .footer-logo-img {
        max-height: 40px;
    }
    
    .footer-brand {
        font-size: 1.4rem;
    }
    
    .footer-description p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        padding: 0 15px;
    }
}

@media (max-width: 575.98px) {
    .footer-content {
        padding: 30px 0 15px;
    }
    
    .footer-brand {
        font-size: 1.2rem;
    }
    
    .footer-description p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}