html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #282262;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Primary color customization - #282262 theme */
:root {
  --primary-color: #282262;
  --primary-700: #1f1b4f;
  --primary-500: #282262;
  --primary-300: #3a347a;
  --accent-color: #4e48a2;
  --link-hover: #3a347a;
  --bs-primary: #282262 !important;
  --bs-primary-rgb: 40, 34, 98 !important;
}

/* RTL/LTR Support for Localization */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="ltr"] {
  text-align: left;
  direction: ltr;
}

/* RTL specific navbar fixes */
[dir="rtl"] .navbar-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

[dir="ltr"] .navbar-nav {
  margin-left: auto !important;
  margin-right: 0 !important;
}

[dir="rtl"] .dropdown-menu {
  right: 0;
  left: auto;
}

[dir="ltr"] .dropdown-menu {
  left: 0;
  right: auto;
}

/* RTL margin utilities */
[dir="rtl"] .ms-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

[dir="rtl"] .me-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Force override Bootstrap primary color */
:root {
  --bs-blue: #282262 !important;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
}

a {
  color: var(--primary-color);
}

a:hover {
  color: var(--link-hover);
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,.25);
}

/* Language Button Styling */
.language-btn {
    background-color: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background-color: #ffc107 !important;
    color: var(--primary-color) !important;
    border-color: #ffc107 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.language-btn:focus {
    background-color: white !important;
    color: var(--primary-color) !important;
    border-color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Navbar active link tint */
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--primary-color) !important;
}
.navbar .nav-link {
  color: var(--primary-700) !important;
}

/* Navbar brand and border accents for _Layout */
.navbar.bg-white .navbar-brand {
  color: var(--primary-700) !important;
  padding: 0.5rem 0;
}
.navbar.bg-white .navbar-brand img {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.navbar.bg-white {
  border-bottom: 1px solid rgba(40,34,98,0.12) !important;
  box-shadow: 0 .125rem .5rem rgba(40,34,98,.05);
  padding: 0.5rem 0;
}
.btn-link.nav-link {
  color: var(--primary-500);
}
.btn-link.nav-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Footer theme */
footer.bg-dark {
  background-color: var(--primary-700) !important;
}
footer.bg-dark .link-light {
  color: #e7e7f2 !important;
}
footer.bg-dark .link-light:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Badges in brand palette */
.badge.bg-primary {
  background-color: var(--accent-color) !important;
}
.badge.bg-secondary {
  background-color: var(--primary-300) !important;
}

/* Cards accents */
.card {
  border: 1px solid rgba(40,34,98,0.08);
}
.card .card-header {
  background: linear-gradient(90deg, rgba(40,34,98,.08), rgba(78,72,162,.08));
  border-bottom: 1px solid rgba(40,34,98,0.12);
}
.card .card-title {
  color: var(--primary-700);
}
.card a {
  color: var(--primary-500);
}
.card a:hover {
  color: var(--link-hover);
}

/* RTL tweaks for news carousel */
.carousel-caption {
  text-align: right;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100%);
}

/* Header top bar styling - Purple theme */
.top-header-bar {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%) !important;
  background-color: var(--primary-color) !important;
  padding: 0.5rem 0;
  color: white !important;
}

.top-header-bar * {
  color: white !important;
}

.top-header-bar .form-control {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.top-header-bar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Override Bootstrap primary color globally */
.bg-primary {
  background-color: var(--primary-color) !important;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%) !important;
}

/* Navbar adjustments for logo positioning */
.navbar {
  min-height: 70px;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

@media (max-width: 991px) {
  .navbar-brand img {
    height: 60px !important;
  }
  .navbar {
    min-height: auto;
    padding: 0.75rem 0;
  }
}

/* Hero Section with Background Image - Full Screen */
.hero-section-purple {
    background-image: url('/images/hero-background12.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    min-height: 600px; /* Minimum height to show full image */
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* تأكد أن الصورة تغطي كامل العرض */
@supports (-webkit-background-size: cover) or (background-size: cover) {
    .hero-section-purple {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

/* Optional: Add overlay to make text readable */
.hero-section-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 34, 98, 0.5); /* Purple overlay with 50% opacity */
    z-index: 1;
}

.hero-section-purple .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Make text more visible on background */
.hero-section-purple h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section-purple .btn {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments - Tablet */
@media (max-width: 992px) {
    .hero-section-purple {
        min-height: 500px;
        background-attachment: scroll;
    }
}

/* Responsive adjustments - Mobile */
@media (max-width: 768px) {
    .hero-section-purple {
        min-height: 450px;
        background-position: center center;
        background-size: cover;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .hero-section-purple .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Responsive adjustments - Small Mobile */
@media (max-width: 576px) {
    .hero-section-purple {
        min-height: 400px;
        background-position: center center;
        background-size: cover;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .hero-section-purple .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* Extra Small Mobile - للشاشات الصغيرة جداً */
@media (max-width: 400px) {
    .hero-section-purple {
        min-height: 350px;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .hero-section-purple .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Hero Background 12 */
.hero-background12 {
    background-image: url('/images/hero-background12.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    min-height: 600px;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@supports (-webkit-background-size: cover) or (background-size: cover) {
    .hero-background12 {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

.hero-background12::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 34, 98, 0.5);
    z-index: 1;
}

.hero-background12 .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-background12 h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-background12 .btn {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .hero-background12 {
        min-height: 500px;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero-background12 {
        min-height: 450px;
        background-position: center center;
        background-size: cover;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .hero-background12 .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-background12 {
        min-height: 400px;
        background-position: center center;
        background-size: cover;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .hero-background12 .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 400px) {
    .hero-background12 {
        min-height: 350px;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .hero-background12 .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Financial Support Section - Hero Style */
.financial-support-section {
    background-image: url('/images/Money.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    min-height: 400px;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* تأكد أن الصورة تغطي كامل العرض */
@supports (-webkit-background-size: cover) or (background-size: cover) {
    .financial-support-section {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

/* Overlay for Financial Support Section */
.financial-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 34, 98, 0.6); /* Purple overlay with 60% opacity */
    z-index: 1;
}

.financial-support-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Make text more visible on background */
.financial-support-section h2,
.financial-support-section p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
}

.financial-support-section h2 {
    font-size: 2.5rem;
}

.financial-support-section p {
    font-size: 1.25rem;
}

/* Responsive adjustments for Financial Support - Mobile */
@media (max-width: 768px) {
    .financial-support-section {
        min-height: 350px;
        background-position: center center;
        background-size: cover;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .financial-support-section .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .financial-support-section h2 {
        font-size: 2rem !important;
    }
    
    .financial-support-section p {
        font-size: 1.1rem !important;
    }
}

/* Responsive adjustments for Financial Support - Small Mobile */
@media (max-width: 576px) {
    .financial-support-section {
        min-height: 300px;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .financial-support-section .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .financial-support-section h2 {
        font-size: 1.6rem !important;
    }
    
    .financial-support-section p {
        font-size: 1rem !important;
    }
}

@media (max-width: 400px) {
    .financial-support-section {
        min-height: 280px;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .financial-support-section h2 {
        font-size: 1.4rem !important;
    }
    
    .financial-support-section p {
        font-size: 0.95rem !important;
    }
}

/* Computer Lab Section */
.computer-lab-section {
    background-image: url('/images/ComputerLab.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    min-height: 400px;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .computer-lab-section {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

/* Overlay for Computer Lab Section */
.computer-lab-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 34, 98, 0.6); /* Purple overlay with 60% opacity */
    z-index: 1;
}

.computer-lab-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Make text more visible on background */
.computer-lab-section h2,
.computer-lab-section p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
}

.computer-lab-section h2 {
    font-size: 2.5rem;
}

.computer-lab-section p {
    font-size: 1.25rem;
}

/* Responsive adjustments for Computer Lab - Mobile */
@media (max-width: 768px) {
    .computer-lab-section {
        min-height: 350px;
        background-position: center center;
        background-size: cover;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .computer-lab-section .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .computer-lab-section h2 {
        font-size: 2rem !important;
    }
    
    .computer-lab-section p {
        font-size: 1.1rem !important;
    }
}

/* Responsive adjustments for Computer Lab - Small Mobile */
@media (max-width: 576px) {
    .computer-lab-section {
        min-height: 300px;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .computer-lab-section .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .computer-lab-section h2 {
        font-size: 1.6rem !important;
    }
    
    .computer-lab-section p {
        font-size: 1rem !important;
    }
}

@media (max-width: 400px) {
    .computer-lab-section {
        min-height: 280px;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .computer-lab-section h2 {
        font-size: 1.4rem !important;
    }
    
    .computer-lab-section p {
        font-size: 0.95rem !important;
    }
}

/* About Us Image Styling */
.about-us-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(40, 34, 98, 0.25);
}

/* Responsive for About Us Image */
@media (max-width: 992px) {
    .about-us-img {
        margin-top: 30px;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .about-us-img {
        max-height: 350px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .about-us-img {
        max-height: 280px;
        border-radius: 10px;
    }
}

/* Core Values Icons Styling */
.value-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.value-item:hover .value-icon {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(40, 34, 98, 0.3));
}

.value-item h5 {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.value-item:hover h5 {
    color: var(--primary-700);
}

/* Responsive for Value Icons */
@media (max-width: 992px) {
    .value-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .value-icon {
        width: 65px;
        height: 65px;
    }
    
    .value-item h5 {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .value-icon {
        width: 55px;
        height: 55px;
    }
    
    .value-item h5 {
        font-size: 0.9rem;
    }
}

/* News and Events Card Images - Responsive */
.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 160px;
    }
}

/* Gallery Images - Responsive */
.ratio.ratio-1x1 img {
    transition: transform 0.3s ease;
}

.ratio.ratio-1x1:hover img {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .ratio.ratio-1x1 {
        margin-bottom: 10px;
    }
}

/* Hero Section - Responsive Text */
@media (max-width: 768px) {
    .hero-section-purple h1 {
        font-size: 2rem !important;
    }
    
    .hero-section-purple .btn {
        font-size: 0.95rem;
        padding: 10px 25px;
    }
}

@media (max-width: 576px) {
    .hero-section-purple h1 {
        font-size: 1.6rem !important;
    }
    
    .hero-section-purple .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

/* Financial Support Section - Text Sizes (تم دمجها مع القسم أعلاه) */

/* Footer Section Styling - Matching alsakrschool.com */
.footer-section {
    background-image: linear-gradient(rgba(40, 34, 98, 0.85), rgba(31, 27, 79, 0.85)), url('/images/Footer-Background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 34, 98, 0.2);
    z-index: 1;
}

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

.footer-heading {
    font-weight: 600;
    font-size: 1.25rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.footer-links li a {
    transition: all 0.3s ease;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #ffc107 !important;
}

.footer-news-link h6 {
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-news-link:hover h6 {
    color: #ffc107 !important;
}

.footer-socials a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 34, 98, 0.4);
}

.footer-subscribe .form-control {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
}

.footer-subscribe .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-subscribe .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.footer-subscribe .btn-light {
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    transition: all 0.3s ease;
}

.footer-subscribe .btn-light:hover {
    background: #ffc107;
    color: #282262;
    transform: translateX(-2px);
}

/* Footer Logo Styling */
.footer-logo {
    max-width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

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

.footer-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-section {
        background-attachment: scroll;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .footer-socials {
        justify-content: flex-start;
    }
    
    .footer-logo {
        max-width: 100px;
        max-height: 60px;
    }
    
    .footer-description {
        font-size: 0.8rem;
    }
}
/* Logo styling */
.logo-img {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

/* Override Bootstrap primary utilities */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-700) !important;
  border-color: var(--primary-700) !important;
}

/* Ensure text-primary uses primary color */
.text-primary {
  --bs-text-opacity: 1;
  color: rgba(40, 34, 98, var(--bs-text-opacity)) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* Ensure all primary colored elements use purple */
.bg-primary,
[class*="bg-primary"] {
  background-color: var(--primary-color) !important;
}

/* Icon colors */
.bi.text-primary,
i.text-primary {
  color: var(--primary-color) !important;
}

/* ========================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ======================================== */

/* General Section Headings - Mobile Responsive */
@media (max-width: 768px) {
    section h2 {
        font-size: 1.8rem !important;
    }
    
    section h3 {
        font-size: 1.5rem !important;
    }
    
    section h5 {
        font-size: 1.1rem !important;
    }
    
    section p.lead {
        font-size: 1.1rem !important;
    }
    
    /* Card body padding adjustment */
    .card-body {
        padding: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    section h2 {
        font-size: 1.5rem !important;
    }
    
    section h3 {
        font-size: 1.3rem !important;
    }
    
    section h5 {
        font-size: 1rem !important;
    }
    
    section p.lead {
        font-size: 1rem !important;
    }
    
    section p {
        font-size: 0.95rem !important;
    }
    
    /* Card body padding adjustment */
    .card-body {
        padding: 1rem !important;
    }
    
    /* Button adjustments */
    .btn {
        font-size: 0.9rem !important;
        padding: 8px 20px !important;
    }
    
    .btn-lg {
        font-size: 1rem !important;
        padding: 10px 30px !important;
    }
}

/* Container Padding - Mobile */
@media (max-width: 576px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* Card Hover Effects - Disable on Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none !important;
    }
    
    .value-item:hover .value-icon {
        transform: none !important;
    }
    
    .about-us-img:hover {
        transform: none !important;
    }
}