
/* ========================================
   HERO SECTION STYLES
   ======================================== */

@media only screen and (max-width: 1024px) {
    #hero-desktop {
        display: none;
    }
    
    #hero-mobile {
        display: block;
    }
}

/* Mobile adjustments - FIXED VERSION */
@media only screen and (max-width: 768px) {
    #hero-mobile video {
        height: 280px;
    }
    
    /* FIXED: Reduce card height and padding */
    #hero-mobile .bg-white\\/95 {
        min-height: 80px !important; /* Reduced from 120px */
        padding: 12px !important; /* Reduced padding */
    }
    
    /* FIXED: Make "Learn More" white on hover */
    #hero-mobile .group:hover a {
        color: white !important;
    }
    
    /* FIXED: Add proper spacing (remove edge-to-edge) */
    #hero-mobile .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Keep rounded corners */
    #hero-mobile .rounded-lg {
        border-radius: 0.5rem !important;
    }
}

@media only screen and (max-width: 480px) {
    #hero-mobile video {
        height: 250px;
    }
    
    #hero-mobile .text-xs {
        font-size: 11px;
    }
    
    /* FIXED: Reduce card height and padding for small mobile */
    #hero-mobile .bg-white\\/95 {
        min-height: 75px !important; /* Even smaller for mobile */
        padding: 10px !important; /* Less padding for small screens */
    }
    
    /* FIXED: Make "Learn More" white on hover */
    #hero-mobile .group:hover a {
        color: white !important;
    }
    
    /* FIXED: Add proper spacing */
    #hero-mobile .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Keep rounded corners */
    #hero-mobile .rounded-lg {
        border-radius: 0.5rem !important;
    }
}

/* ========================================
   END HERO SECTION
   ======================================== */
/* ========================================
   BOARD OF MANAGEMENT SECTION STYLES
   ======================================== */
.dron-member .member-card {
    transition: transform 0.3s ease;
}

.dron-member .member-card:hover {
    transform: translateY(-8px);
}

.dron-member .profile-circle {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   END BOARD OF MANAGEMENT SECTION
   ======================================== */

/* ========================================
   TESTIMONIALS & NOTICE BOARD SECTION STYLES
   ======================================== */

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .text-2xl {
        font-size: 1.25rem;
    }
    .md\:text-3xl {
        font-size: 1.5rem;
    }
}
/* Clean Theme-Based iPad Pro Portrait Fix */

/* iPad Pro Portrait - Force Single Column Layout */
@media screen and (max-width: 1366px) and (min-width: 1024px) and (orientation: portrait) {
    
    /* PRIMARY GRID OVERRIDE - Your main layout */
    .grid.grid-cols-1.lg\\:grid-cols-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    /* ALL Tailwind lg: breakpoint overrides */
    .lg\\:grid-cols-2,
    .lg\\:grid-cols-3,
    .lg\\:flex-row {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }
    
    /* Your testimonials component */
    .dps-testimonials-main {
        width: 100% !important;
        max-width: 100% !important;
        height: 550px !important;
        margin: 0 auto 1.5rem auto !important;
        display: block !important;
    }
    
    .testimonials-controls {
        padding: 18px 28px !important;
    }
    
    .testimonials-controls h3 {
        font-size: 18px !important;
    }
    
    .testimonial-slide-compact .testimonial-card {
        padding: 28px !important;
    }
    
    .testimonial-content blockquote {
        font-size: 18px !important;
        line-height: 1.7 !important;
    }
    
    .author-name {
        font-size: 19px !important;
    }
    
    .author-role {
        font-size: 16px !important;
    }
    
    /* Your notice board component */
    .nbf-board-container {
        width: 100% !important;
        max-width: 100% !important;
        height: 550px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .nbf-header {
        padding: 18px 28px !important;
    }
    
    .nbf-title {
        font-size: 18px !important;
    }
    
    .nbf-list {
        padding: 28px !important;
    }
    
    .nbf-item {
        padding: 18px !important;
        margin-bottom: 14px !important;
        min-height: 75px !important;
    }
    
    .nbf-text {
        font-size: 14px !important;
    }
    
    .nbf-date-box {
        width: 55px !important;
        height: 55px !important;
    }
    
    .nbf-date-box .day {
        font-size: 17px !important;
    }
    
    /* Container adjustments for theme */
    .max-w-5xl,
    .max-w-6xl {
        max-width: 800px !important;
        padding: 0 1rem !important;
    }
    
    /* Section spacing for theme */
    .py-8,
    .md\\:py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Text size adjustments */
    .text-2xl,
    .md\\:text-3xl {
        font-size: 1.875rem !important;
        line-height: 2.25rem !important;
    }
    
    /* Gap and margin adjustments */
    .gap-6 {
        gap: 1.5rem !important;
    }
    
    .mb-6 {
        margin-bottom: 1.5rem !important;
    }
}

/* iPad Pro Landscape - Keep 2 columns (unchanged) */
@media screen and (max-width: 1366px) and (min-width: 1024px) and (orientation: landscape) {
    .dps-testimonials-main {
        max-width: 450px !important;
        width: 450px !important;
        height: 520px !important;
        margin: 0 auto !important;
    }
    
    .nbf-board-container {
        max-width: 450px !important;
        width: 450px !important;
        height: 520px !important;
        margin: 0 auto !important;
    }
    
    .testimonials-controls {
        padding: 16px 24px !important;
    }
    
    .testimonials-controls h3 {
        font-size: 17px !important;
    }
    
    .testimonial-slide-compact .testimonial-card {
        padding: 24px !important;
    }
    
    .testimonial-content blockquote {
        font-size: 17px !important;
        line-height: 1.65 !important;
    }
    
    .author-name {
        font-size: 18px !important;
    }
    
    .author-role {
        font-size: 15px !important;
    }
    
    .nbf-header {
        padding: 16px 24px !important;
    }
    
    .nbf-title {
        font-size: 17px !important;
    }
    
    .nbf-list {
        padding: 24px !important;
    }
    
    .nbf-item {
        padding: 16px !important;
        margin-bottom: 12px !important;
        min-height: 70px !important;
    }
    
    .nbf-text {
        font-size: 13px !important;
    }
}

/* Regular tablet and mobile - unchanged responsive behavior */
@media screen and (max-width: 1023px) {
    .dps-testimonials-main,
    .nbf-board-container {
        width: 95% !important;
        max-width: 580px !important;
        margin: 0 auto 1rem auto !important;
    }
}
/* ========================================
   END TESTIMONIALS & NOTICE BOARD SECTION
   ======================================== */

/* ========================================
   DPS CONTACT SECTION CSS START
   ======================================== */

/* Fluent Forms Styling Override for Tailwind Version */
.dps-fluent-form .fluentform {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dps-fluent-form .ff-el-group {
    margin-bottom: 1rem !important;
}

.dps-fluent-form .ff-el-form-control {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background-color: rgba(30, 64, 175, 0.6) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    border-radius: 0.25rem !important;
    color: white !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    outline: none !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.dps-fluent-form .ff-el-form-control::placeholder {
    color: rgba(191, 219, 254, 1) !important;
    opacity: 1 !important;
}

.dps-fluent-form .ff-el-form-control:focus {
    border-color: rgba(59, 130, 246, 1) !important;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5) !important;
}

.dps-fluent-form textarea.ff-el-form-control {
    resize: none !important;
    min-height: 6rem !important;
}

/* Phone field container styling */
.dps-fluent-form .ff-el-group .ff-el-phone-container,
.dps-fluent-form .ff-el-group .iti {
    position: relative !important;
    width: 100% !important;
}

/* Special styling for phone/mobile fields with country selector */
.dps-fluent-form .ff-el-group input[type="tel"],
.dps-fluent-form .ff-el-group .ff-el-phone-number,
.dps-fluent-form .ff-el-group .ff-el-mobile {
    padding-left: 4.375rem !important; /* 70px equivalent */
    text-align: left !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    background-color: rgba(30, 64, 175, 0.6) !important;
}

/* Country selector - integrated inside the field */
.dps-fluent-form .ff-el-group .ff-el-country-select,
.dps-fluent-form .ff-el-group .country-select {
    position: absolute !important;
    left: 1px !important;
    top: 1px !important;
    bottom: 1px !important;
    width: 3.75rem !important; /* 60px equivalent */
    background-color: rgba(30, 64, 175, 0.8) !important;
    border: none !important;
    border-right: 1px solid rgba(59, 130, 246, 0.6) !important;
    border-radius: 0.1875rem 0 0 0.1875rem !important; /* 3px equivalent */
    color: white !important;
    font-size: 0.875rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    cursor: pointer !important;
}

/* Intl-tel-input plugin styling (if used) */
.dps-fluent-form .iti {
    width: 100% !important;
}

.dps-fluent-form .iti__flag-container {
    position: absolute !important;
    left: 1px !important;
    top: 1px !important;
    bottom: 1px !important;
    width: 3.75rem !important; /* 60px equivalent */
    background-color: rgba(30, 64, 175, 0.8) !important;
    border: none !important;
    border-right: 1px solid rgba(59, 130, 246, 0.6) !important;
    border-radius: 0.1875rem 0 0 0.1875rem !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
}

.dps-fluent-form .iti__selected-flag {
    background: transparent !important;
    border: none !important;
    padding: 0 0.5rem !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.dps-fluent-form .iti__arrow {
    border-top-color: white !important;
    margin-left: 0.25rem !important;
}

.dps-fluent-form .iti input[type="tel"] {
    padding-left: 4.375rem !important; /* 70px equivalent */
    color: white !important;
    background-color: rgba(30, 64, 175, 0.6) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
}

.dps-fluent-form .iti input[type="tel"]::placeholder {
    color: rgba(191, 219, 254, 1) !important;
}

/* Dropdown styling for country list */
.dps-fluent-form .iti__country-list {
    background-color: rgba(30, 64, 175, 0.95) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    border-radius: 0.25rem !important;
    color: white !important;
    z-index: 1000 !important;
}

.dps-fluent-form .iti__country {
    color: white !important;
    padding: 0.5rem 0.75rem !important;
}

.dps-fluent-form .iti__country:hover,
.dps-fluent-form .iti__country.iti__highlight {
    background-color: rgba(59, 130, 246, 0.3) !important;
}

.dps-fluent-form .ff-btn-submit {
    width: 100% !important;
    padding: 0.75rem 1.5rem !important;
    background-color: transparent !important;
    border: 1px solid white !important;
    border-radius: 0.25rem !important;
    color: white !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 0.5rem !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.dps-fluent-form .ff-btn-submit:hover {
    background-color: white !important;
    color: rgb(30, 58, 138) !important;
}

/* Hide Fluent Forms labels if you want to use placeholders only */
.dps-fluent-form .ff-el-input--label {
    display: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 1023px) {
    .relative.h-\[500px\] {
        height: auto !important;
        min-height: 500px !important;
    }
}

/* ========================================
   DPS CONTACT SECTION CSS END
   ======================================== */

/* ========================================
   DPS WHATSAPP SECTION CSS START 
   ======================================== */


/* Floating Buttons CSS - Add to your styles.css */
.floating-buttons-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    align-items: flex-end;
}

/* WhatsApp Container */
.whatsapp-container {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.whatsapp-text {
    background: white;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-container:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Button */
.whatsapp-fab {
    fill: white;
    width: 56px;
    height: 56px;
    padding: 8px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    pointer-events: auto;
}

.whatsapp-fab:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: scale(1.05);
    text-decoration: none;
}

.whatsapp-ico {
    width: 100%;
    height: 100%;
}

/* Back to Top Container */
.back-to-top-container {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top-container.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-text {
    background: #1d4ed8;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.back-to-top-container:hover .back-to-top-text {
    opacity: 1;
    transform: translateX(0);
}

/* Back to Top Button - Smaller Circle */
.back-to-top-fab {
    width: 46px; /* Reduced from 56px */
    height: 46px; /* Reduced from 56px */
    background-color: #1d4ed8;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px; /* Reduced from 24px */
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.back-to-top-fab:hover {
    background-color: #1e40af;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

/* Pulse animation for WhatsApp */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.whatsapp-fab.pulse {
    animation: pulse-whatsapp 2s ease-in-out;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-buttons-container {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .whatsapp-fab {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top-fab {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .whatsapp-text,
    .back-to-top-text {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .whatsapp-container,
    .back-to-top-container {
        gap: 8px;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    .whatsapp-text,
    .back-to-top-text {
        display: none; /* Hide text on very small screens */
    }
}

/* ========================================
   DPS WHATSAPP SECTION CSS END 
   ======================================== */